Raised This Month: $ Target: $400
 0% 

Advanced Roll The Dice (v2.5 RC4)


Post New Thread Reply   
 
Thread Tools Display Modes
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 09-22-2008 , 00:01   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #411

Quote:
Originally Posted by bmp View Post
perfect
Glad you approve. I was motivated by your sudden work but was in disbelief yours could work so I fixed one up.

Then I have another fix that should be added though it is rudimentary because war3ft does not have any cvar specifically stating it is running.

The old war3ft cvar was sv_warcraft3 but since it does not exist anymore, I use the cvar wc3_save_xp because it is the most basic though definitely has a drawback...

wc3_save_xp can be 0 or 1 meaning XP is either saved or not (long or short term xp).

So rather than just changing the cvar at every instance, I had to account for the idea that regardless of the cvar number (0 or 1 OK because short/long term XP) it had to add/remove XP.

Here are my modifications and I hope there is a better remedy than this that someone can code and show us:

Line 1069
Code:
new war3ft = get_cvar_num("wc3_save_xp");
1072
Code:
			if (war3ft == 1 || war3ft == 0) //appended "|| war3ft == 0)" because wc3_save_xp = 0 or 1
1102
Code:
			else if (shero == 0 && war3xp == 0) // && war3ft == 0) - Removed to allow for XP giving for war3ft
1562
Code:
			new war3ft = get_cvar_num("wc3_save_xp");
1565
Code:
			if (war3ft == 1 || war3ft == 0) //appended "|| war3ft == 0)" because wc3_save_xp = 0 or 1
1595
Code:
			else if (shero == 0 && war3xp == 0) // && war3ft == 0) - removed because war3ft can == 0 since wc3_save_xp can be 0 or 1
4087
Code:
		new war3ft = get_cvar_num ( "wc3_save_xp" ) ;
4089 - 4093
Code:
		/* if ( war3ft == 1 && war3xp != 0 )
		{
			war3xp = 1;
			war3ft = 0;
		}*/ // This makes NO sense to have this. If war3ft is on but war3xp is OFF, set war3XP to ON?!?!
4106
Code:
			if ( war3ft == 1 || war3ft == 0) //appended "|| war3ft == 0)" because wc3_save_xp = 0 or 1
4120
Code:
			if ( war3ft == 1 || war3ft == 0) //appended "|| war3ft == 0)" because wc3_save_xp = 0 or 1
Slmclarengt
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 09-28-2008 , 18:12   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #412

Well all my fixes have been successful except I do believe this plugin is the cause of many server crashes on my WC3 server... So hopefully those of us who run this plugin can collaborate to fix the issues. I have no trace of any problems because the server just stops working/responding, immediately restarting merely cutting out in the logs, no record of any reasoning...

Slmclarengt
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 09-29-2008 , 01:10   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #413

I've been running my server with your war3ft changes and haven't had any crashes. But the server hasn't been real active in the last week either.
__________________
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 09-29-2008 , 02:55   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #414

Quote:
Originally Posted by Vm|Mayhem View Post
I've been running my server with your war3ft changes and haven't had any crashes. But the server hasn't been real active in the last week either.
Glad to hear someone benefited from that modification (besides myself). That was not an "optimal" mod but still a functional one because WC3 programmers removed the simple sv_warcraft3 cvar.

Slmclarengt
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
msc
Junior Member
Join Date: Jul 2008
Old 10-17-2008 , 19:48   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #415

Hello, I'm requesting a podbot support for advance roll the dice mod. Would be great if someone made this support really looking forward for support for bots
msc is offline
rederlt
Member
Join Date: Jul 2007
Location: Lithuania
Old 10-30-2008 , 13:27   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #416

Hi there.
Wonderful mod but i need modification that could restrict some prizes in specified maps.
I need this because in knifes only maps i want to ban users to win para/ammunition prizes.
Thx
__________________
_________________________________
I've got lots of ideas and I'd like that you
check them.
rederlt is offline
Send a message via Skype™ to rederlt
CubanSpike
Member
Join Date: Mar 2008
Old 11-10-2008 , 21:53   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #417

Has anyone found that when one wins Godmode or Zeusmode, or Invisible God, there aren't immune to bullets? Whenever we roll and hit one, we can get shot and killed. Kinda defeats the purpose so any information is greatly appreciated.

Thanks!
CubanSpike is offline
rederlt
Member
Join Date: Jul 2007
Location: Lithuania
Old 11-30-2008 , 06:28   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #418

RC4a Dont Work For me . Could you Striker keep an eye on that plug?
__________________
_________________________________
I've got lots of ideas and I'd like that you
check them.
rederlt is offline
Send a message via Skype™ to rederlt
Point =P
Junior Member
Join Date: Jan 2009
Old 01-31-2009 , 16:00   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #419

Im quite new to this but I am trying to get roll the dice to work on my server. I have placed everything in the right folders and added roll_the_dice.amxx to the plugins ini file. When I add that line it crashes the server for some reason. I am using amxmodx 1.8.1. If anyone could help me out with this I would greatly appriciate it, I really want to get this mod working. Thanks.
Point =P is offline
Striker
Senior Member
Join Date: Mar 2004
Location: Germany
Old 01-31-2009 , 20:36   Re: Advanced Roll The Dice (v2.5 RC4)
Reply With Quote #420

Quote:
Originally Posted by Point =P View Post
Im quite new to this but I am trying to get roll the dice to work on my server. I have placed everything in the right folders and added roll_the_dice.amxx to the plugins ini file. When I add that line it crashes the server for some reason. I am using amxmodx 1.8.1. If anyone could help me out with this I would greatly appriciate it, I really want to get this mod working. Thanks.
Make sure that you use dice_stuff.zip! I'm currently working on a new version, but it's done when it's done
__________________
Striker is offline
Send a message via ICQ to Striker Send a message via MSN to Striker
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 -4. The time now is 19:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode