PDA

View Full Version : roll the dice


{DwP} 325th ABN
08-26-2007, 03:16 PM
can somone come up with a new roll the dice, seems lugs works with amx. and i cant find one for amxx. that was such a fun plugin, hopefully would not be that hard to make i have the original lugwigs sma if you need it. just wondering or if anyone knows of one could you let me know thanks you all

diamond-optic
08-26-2007, 05:30 PM
have you tried running the amx plugin? the latest versions of amxx have backwards compatibility with amx if you use the amxmod_compat stuff

{DwP} 325th ABN
08-26-2007, 07:02 PM
well i have tried this complier in dod plugins errors out, got amxmodx compiler to do it but when loaded you get this error in hlsw.which im asumeing it is for counter strike? dont know just asking.

[AMXX] Plugin "roll_the_dice.amxx" failed to load: Module/Library "cstrike" required for plugin. Check modules.ini

diamond-optic
08-26-2007, 10:21 PM
ohh ok lol.. disregard what i posted then :-\

FeuerSturm
08-27-2007, 02:40 AM
can you post/link the source file?

replacing/removing the CS natives would be les work than writing a complete new one :D

{DwP} 325th ABN
08-27-2007, 10:40 PM
can i post the whole code for some reason i cant get the sma file itself to post sorry to be a butthead

{DwP} 325th ABN
08-27-2007, 10:52 PM
i can post the whole code if needed sorry put in the wrong one just need permission dont want to make your eyes bleed. this is one step upgraded for original if needed i can post the basic one to, this one has a few more options


http://forums.alliedmods.net/showthread.php?t=765

{DwP} 325th ABN
08-29-2007, 09:33 PM
i guess no response means shut up and go away, abn slips quitely into his cave searching once again for bin laden

Garion
08-30-2007, 02:33 AM
now I know nothing about coding so I probably won't help much with this. But I put this plugin on my server quick and here's the problem that it seems to have:

0:30:55 L 08/29/2007 - 21:32:02: Invalid event (name "SendAudio") (plugin "amx_ejl_dice.amxx")
00:30:55 L 08/29/2007 - 21:32:02: [AMXX] Displaying debug trace (plugin "amx_ejl_dice.amxx")
00:30:55 L 08/29/2007 - 21:32:02: [AMXX] Run time error 10: native error (native "register_event")
00:30:55 L 08/29/2007 - 21:32:02: [AMXX] [0] amx_ejl_dice.sma :: plugin_init (line 122)

{DwP} 325th ABN
08-30-2007, 02:49 AM
abn pokes his head out to see if there is life out there

FeuerSturm
08-30-2007, 02:55 AM
"SendAudio" is not a valid DoD Event as well as the detection for CS Roundstart/Roundend will not work for DoD.

I will replace that with DoD Events when i get home from work later today.

Have some patience please!

FeuerSturm
08-30-2007, 03:42 PM
okay, you shouldn't receive an error anymore, please try it and let me know what works and what doesn't as there's a lot of stuff in it that *might* work.

{DwP} 325th ABN
08-30-2007, 04:09 PM
oh man thanks so much for working on this you rock no doubts. im at work will try it out today when i get home and will let you know. again thanks

diamond-optic
08-30-2007, 06:10 PM
for some reason the file downloads as a 0kb empty file...

{DwP} 325th ABN
08-30-2007, 10:43 PM
yeah didnt compile for some reason this is what it told me anyhoo


Your plugin failed to compile! Read the errors below:

Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/phpmbqGFp.sma(1) : error 013: no entry point (no public functions)

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpmbqGFp.amx (compile failed).

diamond-optic
08-30-2007, 10:52 PM
hmm ut oh...

all the new attachments on the site are coming up as empty files for me :-\ eeeekkkk ..just tried my dod_weaponjam plugin and that comes up empty too.. but older ones seem to work fine.. :(

{DwP} 325th ABN
08-31-2007, 12:51 AM
ummm that would be not good, hope it has a good finish

diamond-optic
08-31-2007, 12:53 AM
lol i hope its nothing major lol.. as that could really cause some problems

FeuerSturm
08-31-2007, 02:53 AM
i already heard people complain about 0byte files before, but for some
reason I can download the attachments without a problem.

anyways, here's a direct link until Zor finds some time to either
blow up the board or fix it :D :p

http://www.clan-sod.eu/serverstuff/amx_ejl_dice.sma

diamond-optic
08-31-2007, 03:06 AM
its wierd when i got to download these attachments.. its like 15seconds till the save window pops up..

where as the attachments that work fine for me it comes up right away...

{DwP} 325th ABN
08-31-2007, 10:39 PM
alright if you want to get this ill stay with ya no doubts again ty for your help
in the first compile which was good ty. i got a debug error had to add debug to the end of plugin ini name. then i got this error about line something here is hlsw post


String formatted incorrectly - parameter 4 (total 3)
[AMXX] Run time error 25 (plugin "amx_ejl_dice.amxx") - debug not enabled!
[AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
-------- Mapchange to dod_avalanche --------
DoD Medic Class plugin loaded successfully
[dod_medic_class.amxx] DoD Medic Class plugin loaded successfully
[AMXX] Loaded 58 admins from file
String formatted incorrectly - parameter 4 (total 3)
[AMXX] Displaying debug trace (plugin "amx_ejl_dice.amxx")
[AMXX] Run time error 25: parameter error
[AMXX] [0] php1HrzdG.sma::plugin_init (line 128)

FeuerSturm
09-01-2007, 02:47 AM
should be fixed now:

http://www.clan-sod.eu/serverstuff/amx_ejl_dice.sma

{DwP} 325th ABN
09-01-2007, 05:36 AM
wooo hoooo victory you are the man of the hour sturm you go boyz. it works yes yes just got done testing thank you so much and diamond for staying with it and figuring it out. you guys rock. abn comes out of his cave and looks to the sun with a smile woooooooo we have roll the dice back in dod peps

diamond-optic
09-01-2007, 05:41 AM
did i really do anything?

{DwP} 325th ABN
09-01-2007, 05:42 AM
support diamond support it takes all of us to win, nice

FeuerSturm
09-05-2007, 02:16 PM
okay, here's the latest Version from amxx forums fixed to work with DoD,
if you get errors, let me know!

{DwP} 325th ABN
09-09-2007, 08:40 PM
well ty so much again for your work, i compiled it and put it in the server in hlsw got this error. its the cs module again.


[AMXX] Plugin "amx_ejl_dice.amxx" failed to load: Module/Library "cstrike" required for plugin. Check modules.ini.
DoD Medic Class plugin loaded successfully
[dod_medic_class.amxx] DoD Medic Class plugin loaded successfully

diamond-optic
09-09-2007, 09:37 PM
FeuerSturm, i believe its probably from the include <amxmod>

the amxmod include file automatically includes the cstrike module, and the only errors on compile that happen when you remove the amxmod include are cs_set_user_money, which could be removed anyway...

FeuerSturm
09-10-2007, 02:45 AM
FeuerSturm, i believe its probably from the include <amxmod>

the amxmod include file automatically includes the cstrike module, and the only errors on compile that happen when you remove the amxmod include are cs_set_user_money, which could be removed anyway...

oh, i didn't even notice that amxmod was included, i took a quick look
through it and saw a lot of other useless shit like superhero mod
that has to be removed as well.

i'll fix is when i get home from work.

FeuerSturm
09-10-2007, 03:54 PM
okay, here you go again, i removed the CS Specific Stuff,
test it out and let me know what works and what doesnt!

if some of you guys are interested, some years ago i startet
a "DoD Roll the Dice" but never finished it.

I'd just need some ideas for let's say 10 good things and 10 bad things!

just let me know!

{DwP} 325th ABN
09-10-2007, 11:42 PM
killer ill try it. as far as ideas well invisible is killer, godmode yes, noclip, extra health, timebomb, throw chickens or somthing like pies or food, flying across the map, zuesmode, jedi knight with saber, smoking drunckard. or like a death ray with eyes or hands. or throw spider webs

{DwP} 325th ABN
09-10-2007, 11:55 PM
got this error on load should be somthing simple


[AMXX] Plugin needs newer debug version info (plugin "map_rate.amxx")

diamond-optic
09-11-2007, 01:15 AM
got this error on load should be somthing simple


[AMXX] Plugin needs newer debug version info (plugin "map_rate.amxx")


thats not even this plugin???

{DwP} 325th ABN
09-11-2007, 01:45 AM
yeah my bad it works killer, it is so much better thanks so much feuersturm you did a awsome job. all the bugs are out invisible is fixed along with losing weapons after wild ride. and the new extra wavs are phat. you did a great job the time bomb still doesnt work but who cares. it is the cleanest roll the dice ive seen in along time. again nice job and ty

FeuerSturm
09-11-2007, 02:43 AM
i'll take a look at the timebomb stuff, if it "can't" work for dod, i'll take it out of the plugin, so you can't "roll" it at all.

{DwP} 325th ABN
09-11-2007, 10:46 PM
ty again feuer no probs we will wait if not take it out and you have a jewel

Garion
09-11-2007, 11:58 PM
some ideas for dod stuff:
1hp and glow
evil vision
no prone
knife only
no stamina or very little stamina
150 hp
extra stamina

Garion
09-14-2007, 01:10 AM
ok, I installed the latest version and now with it on my server crashes. Is there something I can try to use it?

{DwP} 325th ABN
09-14-2007, 01:48 AM
i assume you compiled it to get amxx. i have no probs with it runs good. what and where did you put files

Garion
09-14-2007, 08:03 PM
well unless I'm missing something here, it appears there's only the actual plugin file. Which I put in the plugins folder and I added to the plugins.ini file.

FeuerSturm
09-15-2007, 03:19 AM
well unless I'm missing something here, it appears there's only the actual plugin file. Which I put in the plugins folder and I added to the plugins.ini file.

You will need some additional files:
http://forums.alliedmods.net/showthread.php?t=765&page=19

the "dice_stuff.zip" and the it should work :D

ruffusbebad
09-15-2007, 09:29 AM
This works great on both servers, players love it. But getting these errors, Im pretty sure it has to do with the bots I run. If there is any way to fix this it would be apreciated.

L 09/15/2007 - 06:06:50: [FUN] Invalid player 6
L 09/15/2007 - 06:06:50: [AMXX] Displaying debug trace (plugin "amx_ejl_dice.amxx")
L 09/15/2007 - 06:06:50: [AMXX] Run time error 10: native error (native "set_user_rendering")
L 09/15/2007 - 06:06:50: [AMXX] [0] phpJSLnLC.sma::client_connect (line 285)

Garion
09-15-2007, 05:15 PM
thanks fuersturm.