View Full Version : By request... New features for di-mart guns coming
rmcnew
04-15-2004, 05:51 PM
Thanks to renewed interest, I'm going to attempt to make another di-mart guns update, however small it may be, with some new features despite the fact that I no longer have a functioning personal computer.
I will add the turn saver mod in with it, and will also a script at deathstalker's request that will allow everyone EXCEPT whoever is the top player at that moment to buy extra turns, so those that start late in the game have a chance to catch up to the starting players.
It's possible that I will add some other features as well, but finals are coming up and will need lots of time to study so what I may do could be a little limited. I'll try to get this all out on friday or monday.
rmcnew
04-15-2004, 11:43 PM
Ok, I coded this without testing any of the code out, so I am unsure of any errors I could have made in the script other than what I have physically seen within the script itself.
I need someone to test this out for me and list any debug information the server might give them.
BE SURE TO BACK UP ALL INFORMATION BEFORE TRYING THIS OUT!
Also, note that you must have di-mart guns mod installed for this to work. Replace the STORE_SU.C file in your installation with the one below.
http://www2.swau.edu/~rmcnew/experiment/xtraturns/STORE_SU.C
In case you do not know what this will do it will [should] add a new section in the store in which you can buy extra turns.
Deathstalker
04-16-2004, 01:28 AM
Great Idea!!!! Thanks you are the best....added the script..backed up first..of coarse...:got this at force new day.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">WARNING: 04-15 9:22 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:22 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
WARNING: 04-15 9:23 PM:Unable to find string token amount in script script\store_supplies.c.
[/QUOTE]<span id='postcolor'>
If that's the only thing that's wrong with the script I'd say it's working well. Looking back at the script now to see where I have the typo on the string data.
Found the culprit, I think. Had an undefined string refrence called $amount$ that I had to replace.
New script below with corrections.
http://www2.swau.edu/~rmcnew/experiment/xtraturns/STORE_SU2.C
Need to test and make sure that the script will not allow the top player to buy turns.
Don't bother with these scripts above. The final version of the script without any errors is found in the link here.
http://www.rtsoft.com/htbin....4;t=216 (http://www.rtsoft.com/htbin/bbs/ikonboard.cgi?act=ST;f=4;t=216)
Deathstalker
04-17-2004, 12:42 AM
o.k. Just installed new script...watching the error log so far so good....as always..you rule..its good to have you back....
Now if I can only get onto the deathstalker server to watch how the mod is working. http://www.rtsoft.com/iB_html/non-cgi/emoticons/biggrin.gif Would be wonderful.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.