AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   Roll the Dice for NS (https://forums.alliedmods.net/showthread.php?t=4042)

karlos 07-21-2004 09:44

Roll the Dice for NS
 
1 Attachment(s)
this is a rollthedice for Natural-Selection with much fun prizes
bad prizes: death / bitch slap / slap disease / low health / glow / buried / timebomb
good prizes: godlike (1k hp/onos 2k) / super shield / invisible / ha or devour / speed boost / strong weapon / mines+gren or spore / welder or healspray or umbra / jp or bilebomb

Needed modules:
Engine
Fun
Ns2amx (inc files included if u want to compile) [ NOT NEEDED ANYMORE ]
and AssKicR's stocks (only needed if u want to compile) [ NOT NEEDED ANYMORE ]

thx CheesyPeteza for help with fake_damage

NEW PLUG REALEASED
get it here here
many new features, bug fixes

THIS IS VERSION IS FOR AMXX 0.2, to make it run with 0.16 change:
1. line 194 "new class = ns_get_class(id)" to "new class = ns_getclass(id)"
(its in function "public roll_the_dice(id)")
2. line 464 "new class = ns_get_class(a)" to "new class = ns_getclass(a)"
(its in function "public timer()")

kingpin 07-21-2004 09:45

nice will put on my NS server tonight. gj.

SirChris 08-07-2004 07:07

Hi,
i had a problem with this plugin: i cant compile it.
I have all the requied modules, Engine, Fun, Ns2amx and AssKicR's stocks, but i always get the same error:
Code:

Small compiler 2.1.0            Copyright (c) 1997-2002, ITB CompuPhase

X:\Steam\SteamApps\MyEmailAdresse\dedicated server\nsp\addons\amxx\scripting\include\ns2amxhelpers.inc(497) : error 021: symbol already defined: "is_combat"

1 Error.
Drücken Sie eine beliebige Taste . . .

Can someone help me with that or compile it for Windows for me?

karlos 08-07-2004 07:36

Asskicr's stock and ns2amx have both the command is_combat
to fix:
open asskicr's inc and change this
Code:
stock is_combat() {     new MapName[4]     get_mapname(MapName,3)     if (equal(MapName,"co_"))     {         return 1     }     return 0 }
to
Code:
/*stock is_combat() {     new MapName[4]     get_mapname(MapName,3)     if (equal(MapName,"co_"))     {         return 1     }     return 0 }*/
(now the ns2amx command will be only used) sry that i have not mentioned it

SirChris 08-07-2004 15:25

Okay, now i can compile it but i cant use it, i get this error in the AMX Mod X Log:

[AMXX] Function not found (name "set_msg_block") (plugin "wprolldice.amx")

Any Ideas?

karlos 08-07-2004 15:57

i dont know, set_msg_block is part of engine module so it must be there, maybe a bad load (have u tried to restart?)

SirChris 08-08-2004 06:01

Yes, amx tells me its a bad load, but i always get this bad load every time the server starts. Don't know what i had done wrong.
Perhaps we can talk in ICQ or so for more help?
btw: Greetings from Germany to Germany :wink:

edit: I got an other error, while executing rollthedice.amx:
[NS2AMX] Warning: wprolldice.amx: Compiled with include files which do not match the dll version.

Perhaps this can help?
I`m using newest NS2AMX Version 1.11 and AMX Mod X 0.16

karlos 08-08-2004 08:59

u get the error "[NS2AMX] Warning: wprolldice.amx: Compiled with include files which do not match the dll version" when u use old ns2amx inc files, just replace yours with the one from the ns2amx zip

PS:if u r using a listenserver u need the modified amxx_mm.dll or wait till amxx 0.20

SirChris 08-08-2004 13:33

I try it, there but there is always the same error. Seems like i had to wait for amxx 0.20

karlos 08-18-2004 13:24

important bug fix


All times are GMT -4. The time now is 08:34.

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