Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Realm Conquest System Details »»
Realm Conquest System
Version: 1.3.0, by Jaxel Jaxel is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 04-21-2009 Last Update: 04-28-2009 Installs: 211
DB Changes Uses Plugins
Additional Files  
No support by the author.

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...

Download Now

File Type: zip Conquest-1.3.0.zip (208.2 KB, 1187 views)

Screenshots

File Type: jpg conquest-index.jpg (259.9 KB, 0 views)
File Type: jpg conquest-home.jpg (222.8 KB, 0 views)
File Type: jpg conquest-armory.jpg (212.6 KB, 0 views)
File Type: jpg conquest-barracks.jpg (258.6 KB, 0 views)
File Type: jpg conquest-scout.jpg (218.4 KB, 0 views)
File Type: jpg conquest-admin-settings.jpg (238.0 KB, 0 views)
File Type: jpg conquest-admin-nations.jpg (217.8 KB, 0 views)
File Type: jpg conquest-admin-armor.jpg (190.7 KB, 0 views)
File Type: jpg conquest-admin-reset.jpg (217.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Developerz, kevin.kool

Comments
  #542  
Old 04-15-2010, 06:29 AM
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I implemented a solution to prevent people from getting spammed with messages when they get attacked. In short, I fire off a query checking whether the user that was attacked has any unread PMs from the conquest system, and only send the PM if the above is not true.

To accomplish this, open up functions_conquest_village.php and replace this:

Code:
		$message .= "]Click here to view futher information on $player[username]'s village.";

		$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
		$pmdm->set('iconid', 4);
		$pmdm->set('fromuserid', $player[userid]);
		$pmdm->set('fromusername', $player[username]);
		$pmdm->set('title', $title);
		$pmdm->set('message', $message);
		$pmdm->overridequota = true;
		$pmdm->set_recipients($village[username], $botpermissions);
		$pmdm->set('dateline', TIMENOW);
		$pmdm->save();
with this:

Code:
	// Start modification to prevent players from being spammed
	$conquestpmread_sql = "SELECT MIN(pm.messageread) pmsRead FROM user JOIN pm ON user.userid = pm.userid JOIN pmtext ON pm.pmtextid = pmtext.pmtextid WHERE user.username = '" . $village[username] . "' AND pmtext.title LIKE 'You have been attacked%'";
	
	$conquest = $vbulletin->db->query_first($conquestpmread_sql);
	
	if (!$conquest['pmsRead'] == 0) // Apparently there's no unread Conquest messages for this user.
	{
		$message .= "]Click here to view futher information on $player[username]'s village.";

		$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
		$pmdm->set('iconid', 4);
		$pmdm->set('fromuserid', $player[userid]);
		$pmdm->set('fromusername', $player[username]);
		$pmdm->set('title', $title);
		$pmdm->set('message', $message);
		$pmdm->overridequota = true;
		$pmdm->set_recipients($village[username], $botpermissions);
		$pmdm->set('dateline', TIMENOW);
		$pmdm->save();
	}
	// End modification
Feel free to alter this to your needs. I tested this on my own system, and it seems to be working as intended. Should you find something different, please let me know.
Reply With Quote
  #543  
Old 04-15-2010, 02:20 PM
RollaJedi's Avatar
RollaJedi RollaJedi is offline
 
Join Date: Apr 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you will make this for vbulletin 4, yes?
Reply With Quote
  #544  
Old 04-15-2010, 05:39 PM
Dutch_Boy Dutch_Boy is offline
 
Join Date: Dec 2007
Location: The Netherlands
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AfterWorldForum View Post
I implemented a solution to prevent people from getting spammed with messages when they get attacked. In short, I fire off a query checking whether the user that was attacked has any unread PMs from the conquest system, and only send the PM if the above is not true.

To accomplish this, open up functions_conquest_village.php and replace this:

Code:
		$message .= "]Click here to view futher information on $player[username]'s village.";

		$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
		$pmdm->set('iconid', 4);
		$pmdm->set('fromuserid', $player[userid]);
		$pmdm->set('fromusername', $player[username]);
		$pmdm->set('title', $title);
		$pmdm->set('message', $message);
		$pmdm->overridequota = true;
		$pmdm->set_recipients($village[username], $botpermissions);
		$pmdm->set('dateline', TIMENOW);
		$pmdm->save();
with this:

Code:
	// Start modification to prevent players from being spammed
	$conquestpmread_sql = "SELECT MIN(pm.messageread) pmsRead FROM user JOIN pm ON user.userid = pm.userid JOIN pmtext ON pm.pmtextid = pmtext.pmtextid WHERE user.username = '" . $village[username] . "' AND pmtext.title LIKE 'You have been attacked%'";
	
	$conquest = $vbulletin->db->query_first($conquestpmread_sql);
	
	if (!$conquest['pmsRead'] == 0) // Apparently there's no unread Conquest messages for this user.
	{
		$message .= "]Click here to view futher information on $player[username]'s village.";

		$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
		$pmdm->set('iconid', 4);
		$pmdm->set('fromuserid', $player[userid]);
		$pmdm->set('fromusername', $player[username]);
		$pmdm->set('title', $title);
		$pmdm->set('message', $message);
		$pmdm->overridequota = true;
		$pmdm->set_recipients($village[username], $botpermissions);
		$pmdm->set('dateline', TIMENOW);
		$pmdm->save();
	}
	// End modification
Feel free to alter this to your needs. I tested this on my own system, and it seems to be working as intended. Should you find something different, please let me know.
Thanks. Added to the game and will test it.
Reply With Quote
  #545  
Old 04-16-2010, 01:17 AM
Feanor_87's Avatar
Feanor_87 Feanor_87 is offline
 
Join Date: Mar 2009
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an option that allows you to leave a nation?
Reply With Quote
  #546  
Old 05-12-2010, 07:38 PM
MichaelDance MichaelDance is offline
 
Join Date: Dec 2009
Location: Warwickshire, UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

carnt wait to set this up on my forum, thanks bud defo installing..
Reply With Quote
  #547  
Old 05-12-2010, 07:48 PM
murekhalir murekhalir is offline
 
Join Date: Oct 2006
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can't wait to get a vb4 version.
Reply With Quote
  #548  
Old 06-07-2010, 12:19 AM
anuanu anuanu is offline
 
Join Date: May 2007
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me to! It will be amazing.
Reply With Quote
  #549  
Old 06-09-2010, 10:17 AM
BloodRavens's Avatar
BloodRavens BloodRavens is offline
 
Join Date: Jul 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The graphics seems good. Is this release is ready to be used in large forum or it still needs some tweaking? It will be good if it is compatible with vbExperience.....
Reply With Quote
  #550  
Old 06-09-2010, 02:35 PM
Dutch_Boy Dutch_Boy is offline
 
Join Date: Dec 2007
Location: The Netherlands
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need some tweaking. We are waiting for a update. But i think there will never be one
Reply With Quote
  #551  
Old 06-13-2010, 07:51 AM
session-one session-one is offline
 
Join Date: Dec 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is a vb4 launch planned?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05462 seconds
  • Memory Usage 2,359KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete