vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Realm Conquest System (https://vborg.vbsupport.ru/showthread.php?t=211920)

OcR Envy 04-23-2009 11:38 AM

conquest.php?do=enlist(Fixed after 1 player had joined a nation)
Quote:

Warning: Division by zero in [path]/conquest.php on line 212

Warning: Division by zero in [path]/conquest.php on line 213

Warning: Division by zero in [path]/conquest.php on line 214

Warning: Division by zero in [path]/conquest.php on line 212

Warning: Division by zero in [path]/conquest.php on line 213

Warning: Division by zero in [path]/conquest.php on line 214

Warning: Division by zero in [path]/conquest.php on line 212

Warning: Division by zero in [path]/conquest.php on line 213

Warning: Division by zero in [path]/conquest.php on line 214
conquest.php?do=armory (Fixed after 1 troop had weapon/armor)
Quote:

out of 119 troops have weapons out of 119 troops have armor
conquest.php?do=largest(Not sure if the ??? are ment to be there)
Quote:

OcR Envy Soul Edge 119 Troops ??? ??? ???

Quote:

Turns are the most valuable commodity in the system. There is no way for a player to manually create turns and they are only given out at each cycle refresh
How often does the script cycle?

Internetcafe 04-23-2009 11:46 AM

Quote:

Originally Posted by hornstar1337 (Post 1797253)
This has so much potential if you are dedicated I would love to see a pro version.

Have to agree. I've downloaded but not installed until all the bugs are ironed out, but it could be a great addition.
Thanks for all your hard work Jaxel and all you beta testers ;)

Jaxel 04-23-2009 01:03 PM

Divide by zero error on conquest.php?do=enlist has been fixed...

Missing 0 in armory error has been fixed...


As for how often the cycle refreshes, that is up to you. By fefault I have it set to 60 minutes. Once a minute, a cron-job will run that checks the last cycle time from the current time. If the last cycle time plus 60 minutes is less than or equal to the current time, it will run the cycle and start making awards.

Any other errors left now?

zombietom 04-23-2009 01:11 PM

What's in the new update? and can we use vbcredits with this?
thanks

anuanu 04-23-2009 01:19 PM

When I set my group up (administrators) to have permission to administer conquest system I don't see any menus on conquest.php to administer it. Any idea?

Acers 04-23-2009 02:05 PM

Quote:

Originally Posted by anuanu (Post 1797408)
When I set my group up (administrators) to have permission to administer conquest system I don't see any menus on conquest.php to administer it. Any idea?

In conquest .php
edit this line

PHP Code:

if ($permissions['rankingladderpermissions'] & $vbulletin->bf_ugp_rankingladderpermissions['canadmin']) { $isAdmin true; } 

to this

PHP Code:

if ($permissions['conquestpermissions'] & $vbulletin->bf_ugp_conquestpermissions['canadmin']) { $isAdmin true; } 


Jaxel 04-23-2009 02:05 PM

Quote:

Originally Posted by anuanu (Post 1797408)
When I set my group up (administrators) to have permission to administer conquest system I don't see any menus on conquest.php to administer it. Any idea?

Sorry... I had it linked to the wrong permission... fixed in 1.0.3

I also changed it so villages get the income bonus on cycle refresh.

anuanu 04-23-2009 02:16 PM

Awesome that fixed it!

Like zombietom asked can you incorporate vbcredits? I think that would also be awesome!

rule0 04-23-2009 02:36 PM

1.0.3 works like a charm so far. ty Jaxel.

OcR Envy 04-23-2009 02:51 PM

No more bugs so far tks for the quick update.

I tend to disagree don't integrate this with vbcredits. Some of my users have half a million dollars in credits. That wouldn't work out so well for this game.

Spelling Error:

Quote:

Villages in this nation recieve a natural bonus to both basic defense and espionage actions.
Receive.


All times are GMT. The time now is 05:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01443 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete