slmclarengt
04-08-2007, 05:52 PM
Ever been pissed off because you couldn't use your ultimate mid-round because the server stated "You cannot use your ultimate during Freezetime" and after breaking your monitor, you threw your case out the window?
Well, now that you've got a new computer, I've developed a fix for this pestering issue. Although it has not been tested at all (I'm on dial-up ATM and it would take forever to upload to my server :-)), it should work.
First, I will explain my modifications and why exactly they exist.
IN uwc3.sma
FIND
Guests are not allowed to view code.REPLACE
Guests are not allowed to view code.
with
Guests are not allowed to view code.
BECAUSE: It is unnecessary and kryptic to use "World Triggered" as a logged event as it does not relate to the round starting after freezetime. Also, logevent_round_start is a more descriptive and accurate function title.
NEXT, IN uwc3/vars.inl
FIND
Guests are not allowed to view code.
REPLACE with
Guests are not allowed to view code.BECAUSE: It is unnecessary to use an integer for only 2 varying values (it's either 1 or 0) so I switched it to a boolean value (true or false)
NEXT, IN uwc3/utility.inl
FIND
Guests are not allowed to view code.REPLACE with
Guests are not allowed to view code.BECAUSE: we changed freezetime to a boolean value and everything else must be changed in accordance with our declaration.
NEXT, IN uwc3/ultimates.inl
FIND
Guests are not allowed to view code.
PERFORM "REPLACE ALL" function (in wordpad: edit > replace > "Find what: (freezetime==1)" > "Replace with: (freezetime)" > Replace All)
So change all "(freezetime==1)" to "(freezetime)" in whatever way is easiest to you.
BECAUSE: we changed the variable type to boolean
NEXT, IN uwc3/events.inl
FIND
Guests are not allowed to view code.
REPLACE with
Guests are not allowed to view code.
BECAUSE: we changed the variable type to boolean
NEXT, IN uwc3/abilities.inl
FIND
Guests are not allowed to view code.PERFORM "REPLACE ALL" function (in wordpad: edit > replace > "Find what: (freezetime==1)" > "Replace with: (freezetime)" > Replace All)
So change all "(freezetime==1)" to "(freezetime)" in whatever way is easiest to you.
PLEASE let me know if this works or not and let me know if you get any errors/warnings OR ANYTHING at ALL!!! I will fix this bug whether it's the last thing I do :-)!
IN utility.inl FIND
Guests are not allowed to view code.REPLACE with
Guests are not allowed to view code.
Slmclarengt (BnD | Sleeper - www.bndclan.net (http://www.bndclan.net))
Well, now that you've got a new computer, I've developed a fix for this pestering issue. Although it has not been tested at all (I'm on dial-up ATM and it would take forever to upload to my server :-)), it should work.
First, I will explain my modifications and why exactly they exist.
IN uwc3.sma
FIND
Guests are not allowed to view code.REPLACE
Guests are not allowed to view code.
with
Guests are not allowed to view code.
BECAUSE: It is unnecessary and kryptic to use "World Triggered" as a logged event as it does not relate to the round starting after freezetime. Also, logevent_round_start is a more descriptive and accurate function title.
NEXT, IN uwc3/vars.inl
FIND
Guests are not allowed to view code.
REPLACE with
Guests are not allowed to view code.BECAUSE: It is unnecessary to use an integer for only 2 varying values (it's either 1 or 0) so I switched it to a boolean value (true or false)
NEXT, IN uwc3/utility.inl
FIND
Guests are not allowed to view code.REPLACE with
Guests are not allowed to view code.BECAUSE: we changed freezetime to a boolean value and everything else must be changed in accordance with our declaration.
NEXT, IN uwc3/ultimates.inl
FIND
Guests are not allowed to view code.
PERFORM "REPLACE ALL" function (in wordpad: edit > replace > "Find what: (freezetime==1)" > "Replace with: (freezetime)" > Replace All)
So change all "(freezetime==1)" to "(freezetime)" in whatever way is easiest to you.
BECAUSE: we changed the variable type to boolean
NEXT, IN uwc3/events.inl
FIND
Guests are not allowed to view code.
REPLACE with
Guests are not allowed to view code.
BECAUSE: we changed the variable type to boolean
NEXT, IN uwc3/abilities.inl
FIND
Guests are not allowed to view code.PERFORM "REPLACE ALL" function (in wordpad: edit > replace > "Find what: (freezetime==1)" > "Replace with: (freezetime)" > Replace All)
So change all "(freezetime==1)" to "(freezetime)" in whatever way is easiest to you.
PLEASE let me know if this works or not and let me know if you get any errors/warnings OR ANYTHING at ALL!!! I will fix this bug whether it's the last thing I do :-)!
IN utility.inl FIND
Guests are not allowed to view code.REPLACE with
Guests are not allowed to view code.
Slmclarengt (BnD | Sleeper - www.bndclan.net (http://www.bndclan.net))