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)

Jaxel 04-21-2009 10:00 PM

Realm Conquest System
 
1 Attachment(s)
This Conquest System is very similar to the vBarmy system, except it has a few specific fundamental changes. Instead of every player working alone to fight other players, players work together as a single nation to fight other players who are members of different nations. Everything else in the system is pretty much self-explanitory.

Product Demo:
http://www.8wayrun.com/conquest.php
Installation Procedure:
  1. Upload all files in the "upload" directory to your forum root.
  2. CHMOD /conquest/nations to 777.
  3. Import the product "product-conquest.xml" in your Product Manager.
Upgrade Procedure:
  1. Upload all files in the "upload" directory to your forum root.
  2. Import the product "product-conquest.xml" in your Product Manager.

Don't forget to click INSTALL!

If you want to donate, I'm all for it... as I'm an unemployed computer programmer...

zombietom 04-22-2009 04:38 PM

Wow looks awesome! ..i will Download ...will it work on 3.7 ? ..hope so and will it allow vbcredits to be used?

thanks

Lahoria 04-22-2009 04:43 PM

looks cool

pein87 04-22-2009 04:53 PM

Jaxel how would this work for lets say a site like mine that has a thread based RPG system for naruto and bleach could I seperate each one with this mod so I can have a better PRG system?

tdemis 04-22-2009 05:22 PM

nice...installed it but i cannot administer it,even though i ve set the correct permissions!Any help on that?

rknight111 04-22-2009 05:22 PM

I will put up on mine and have it testing for the mods only and a few others and try it out for a week or two. Will it run along side of the old one or will it take over?

Sugoi na 04-22-2009 05:50 PM

Great addition. Would you consider this BETA stage or would a large forum be ready to have a go without all the major issues?

Skyrider 04-22-2009 05:57 PM

This is kinda wrong :s, I installed this and clicked the Conquest system in the navbar which leads to:

http://xxxx.com/$filename <-- filename?..

Also getting tons of errors in conquest.php:

Warning: Division by zero in [path]/conquest.php on line 154
Warning: Division by zero in [path]/conquest.php on line 155
Warning: Division by zero in [path]/conquest.php on line 156
Warning: Division by zero in [path]/conquest.php on line 154
Warning: Division by zero in [path]/conquest.php on line 155
Warning: Division by zero in [path]/conquest.php on line 156
Warning: Division by zero in [path]/conquest.php on line 154
Warning: Division by zero in [path]/conquest.php on line 155
Warning: Division by zero in [path]/conquest.php on line 156

Soonerdude 04-22-2009 06:02 PM

I'm getting the same errors as FF|Skyrider

Soonerdude 04-22-2009 06:14 PM

Once I joined a team, the errors went away, would still like to get rid of that before going live on my board. Thanks.

BlueNinjaGo 04-22-2009 06:34 PM

Tagged because this looks awesome... but any word on how compatible it is with 3.7.x?

vibedream 04-22-2009 07:20 PM

Quote:

Originally Posted by FF|Skyrider (Post 1796892)
This is kinda wrong :s, I installed this and clicked the Conquest system in the navbar which leads to:

http://xxxx.com/$filename <-- filename?..

Also getting tons of errors in conquest.php:

Warning: Division by zero in [path]/conquest.php on line 154
Warning: Division by zero in [path]/conquest.php on line 155
Warning: Division by zero in [path]/conquest.php on line 156
Warning: Division by zero in [path]/conquest.php on line 154
Warning: Division by zero in [path]/conquest.php on line 155
Warning: Division by zero in [path]/conquest.php on line 156
Warning: Division by zero in [path]/conquest.php on line 154
Warning: Division by zero in [path]/conquest.php on line 155
Warning: Division by zero in [path]/conquest.php on line 156

You need remain Script Name for Forum Home Page option = index

rule0 04-22-2009 07:40 PM

Quote:

Originally Posted by vibedream (Post 1796936)
You need remain Script Name for Forum Home Page option = index

i have "script name for forum home page=index" but still getting the same errors ($filename and division by zero errors)

vibedream 04-22-2009 07:48 PM

Quote:

Originally Posted by rule0 (Post 1796946)
i have "script name for forum home page=index" but still getting the same errors ($filename and division by zero errors)

hi
you need edit template or wait supprt by owner.

Disable link on navbar
edit Navigation / Breadcrumb Templates / navbar
find
Code:

                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>

Add under
Code:

                        <td class="vbmenu_control"><a href="conquest.php$session[sessionurl_q]">$vbphrase[conquest]</a></td>

rule0 04-22-2009 07:55 PM

Quote:

Originally Posted by vibedream (Post 1796950)
hi
you need edit template or wait supprt by owner.

Disable link on navbar
edit Navigation / Breadcrumb Templates / navbar
find
Code:

                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>

Add under
Code:

                        <td class="vbmenu_control"><a href="conquest.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>

ty, i will do that but i tried direct request to /forum/conquest.php and got division by zero errors.
also there are other $filename references in product-conquest.xml file, i hope those variables work correctly too.

my vbulletin is on a windows 2003 OS, apache 2.x php 5.x , mysql 5.x

this mod looks awesome. i hope we can find and fix the problem.

edit: vibedream, i didnt realize you werent the owner :) ty for your help btw. I'll wait for Jaxel.

Jaxel 04-22-2009 07:55 PM

I just uploaded version 1.0.1...

Fixes menu link, and the divide by zero error.

crustymusic99 04-22-2009 08:48 PM

Thank you for getting this out quick. I will be installing it when I am home.

vibedream 04-22-2009 08:58 PM

Quote:

Originally Posted by rule0 (Post 1796956)
ty, i will do that but i tried direct request to /forum/conquest.php and got division by zero errors.
also there are other $filename references in product-conquest.xml file, i hope those variables work correctly too.

my vbulletin is on a windows 2003 OS, apache 2.x php 5.x , mysql 5.x

this mod looks awesome. i hope we can find and fix the problem.

edit: vibedream, i didnt realize you werent the owner :) ty for your help btw. I'll wait for Jaxel.

bcos i think everybody don't llike edit template!

@Jaxel, thank your mod, can you add a panel for admin?

rule0 04-22-2009 09:25 PM

ok, 1.0.1 fixed the $filename and homepage of conquest system is ok now. as I diff the conquest.php i see do=index changed and it works fine now on my system but do=enlist and other do params not working.

ty for quick fixes. i hardly wait to show this system to our forum members :)

edit: do=help works fine too.

Jaxel 04-22-2009 10:10 PM

Quote:

Originally Posted by rule0 (Post 1797007)
ok, 1.0.1 fixed the $filename and homepage of conquest system is ok now. as I diff the conquest.php i see do=index changed and it works fine now on my system but do=enlist and other do params not working.

ty for quick fixes. i hardly wait to show this system to our forum members :)

edit: do=help works fine too.

You must be logged in to view any page below index, enlist and help... otherwise it returns the no-permissions page. This is by design.

Administration rights are setup through usergroup permissions.

principino1984 04-22-2009 10:12 PM

I've got an error ... if you don't choose any character in the conquest.php homepage won't show up the button to join,

http://www.xtremeshack.com/immagine/t16932_error.jpg


if you go to some other page you get this error:

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

Marco

Jaxel 04-23-2009 12:24 AM

conquest.php?do=index NEVER has join buttons. the join buttons only appear on conquest.php?do=enlist

The division by zero error was fixed in 1.0.1

rknight111 04-23-2009 12:42 AM

Thanks Jaxel for all your hard work on this game. This will be a total hit.

I set up administrator rights in the usergroup permissions and cannot see the admin portion, how do I go about that?

ZiG 04-23-2009 03:09 AM

i am still getting division by zero in 1.01 what is meant by:

Quote:

You need remain Script Name for Forum Home Page option = index

principino1984 04-23-2009 06:02 AM

nope I'm sorry. I just uploaded the 1.01 version for the first time. The problem is still there.

Marco

crustymusic99 04-23-2009 06:08 AM

I get the error as well when clicking any link (while not joined under a nation)

Changed usergroup permissions, no admin panel. Nor can I go to the link directly.

Skyrider 04-23-2009 07:33 AM

So... anyone that joins a village can buy stuff of the towns / villages money?

Hornstar 04-23-2009 08:08 AM

This has so much potential if you are dedicated I would love to see a pro version.

OcR Envy 04-23-2009 10:25 AM

Impressive, /me marks for install.

Jaxel 04-23-2009 11:13 AM

Can anyone take screenshots of these errors? Because I cant duplicate them.

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 03:59 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.04078 seconds
  • Memory Usage 1,836KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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