Closed Sidewinder92 closed 4 years ago
The jailmod.amxx has been disabled so only ARP_JailMod.amxx is running. The jailmodmenu comes up but when you select a jail cell nothing happens.
PutInJail(id,Index,Count - 1) entity_set_origin(Index,g_JailOrigins[Num]) L 12/04/2018 - 11:22:14: [AMXX] [0] ARP_JailMod.sma::PutInJail (line 598) L 12/04/2018 - 11:22:14: [AMXX] [1] ARP_JailMod.sma::JailCommand (line 447) L 12/04/2018 - 11:25:01: [AMXX] Run time error 4: index out of bounds
Sorry, I'm swamped right now, and I remember seeing this issue before, but not the fix. I'll look into it this weekend.
No worries! Your help is much appreciated
@DouglasSherk Was there ever a solution to this issue? I am having the same problem.
@DouglasSherk Was there ever a solution to this issue? I am having the same problem.
Don Punch has a copy of the ARP package where this problem is fixed. I'll check with him and get back to you.
I never did get this working, I'd still be interested in the fix!
Don sent me the full working ARP package, but I need to sit down and diff it against what I have up here on GitHub. Expect the update sometime this weekend or let me know if this is blocking you (@mallic, @Gregoru3746) and I might be able to get it to you faster.
That works for me, thanks for your effort on this. I appreciate it greatly.
Also, I know this is unrelated to the original post, but does his copy fix zones? In the current github version, there is no explanation on how to use zones and trying to put one in, makes every single door entity just say the title of whatever is in zone 1.
Not pushing, just checking in @DouglasSherk
I rolled back ARP_JailMod.sma
and ARP_JailMod.amxx
to older versions that allegedly worked well, but I didn't test them. Please try them out and tell me how it goes.
The SMA is correct, but when I installed the new .amxx, it was Jailmod++ by mistagee. Compiling the SMA was your jailmod. Everything works, except that when you are killed, you spawn outside the jail, but still have the jailed restrictions. Freeing players does work. This is an improvement that previous errors.
Also, did you have any comment on the zones thing?
Hmmmm I installed this new(old) ARP_JailMod and mine threw this and doesn't teleport them to jail
[AMXX] Failed to open dictionary file: ts\addons\amxmodx\data\lang\jailmod.txt L 05/05/2020 - 03:17:58: Invalid event (name "SendAudio") (plugin "ARP_JailMod.amxx") L 05/05/2020 - 03:17:58: [AMXX] Displaying debug trace (plugin "ARP_JailMod.amxx") L 05/05/2020 - 03:17:58: [AMXX] Run time error 10: native error (native "register_event") L 05/05/2020 - 03:17:58: [AMXX] [0] 3607.attach::plugin_init (line 223)
The SMA is correct, but when I installed the new .amxx, it was Jailmod++ by mistagee. Compiling the SMA was your jailmod.
Thanks, I uploaded the correct ARP_JailMod.amxx
file.
Everything works, except that when you are killed, you spawn outside the jail, but still have the jailed restrictions. Freeing players does work. This is an improvement that previous errors.
Unfortunately, I think that's a limitation of the old version. I'll double-check with Don and Vincetti to see if either of them have a fix.
Also, did you have any comment on the zones thing?
I was hoping this version would just fix that problem, but I'll check with Vincetti. He and I did some tuning on zones a few days ago and maybe he got it working.
Hmmmm I installed this new(old) ARP_JailMod and mine threw this and doesn't teleport them to jail
[AMXX] Failed to open dictionary file: ts\addons\amxmodx\data\lang\jailmod.txt L 05/05/2020 - 03:17:58: Invalid event (name "SendAudio") (plugin "ARP_JailMod.amxx") L 05/05/2020 - 03:17:58: [AMXX] Displaying debug trace (plugin "ARP_JailMod.amxx") L 05/05/2020 - 03:17:58: [AMXX] Run time error 10: native error (native "register_event") L 05/05/2020 - 03:17:58: [AMXX] [0] 3607.attach::plugin_init (line 223)
Sorry about that, please download the ARP_JailMod.amxx
file again to deal with the problem described in https://github.com/DouglasSherk/Apollo-RP/issues/2#issuecomment-623945548
Im really not sure whats happening to the server. It doesnt seem to recognize any ARP_JailMod plugin exists. Like in game if you type arp_plugins in the console it doesnt show up, nor does anything show up about it in the console. So odd
Im really not sure whats happening to the server. It doesnt seem to recognize any ARP_JailMod plugin exists. Like in game if you type arp_plugins in the console it doesnt show up, nor does anything show up about it in the console. So odd
Were you able to resolve this problem?
@mallic Could you share your compiled ARP_JailMod.amxx
file? I don't have an easy way to compile plugins anymore.
http://kbargaming.com/files/ARP_JailMod.amxx
There ya go. You've got uploads disabled for anyone but you, so I can't upload it.
Im really not sure whats happening to the server. It doesnt seem to recognize any ARP_JailMod plugin exists. Like in game if you type arp_plugins in the console it doesnt show up, nor does anything show up about it in the console. So odd
Were you able to resolve this problem?
Nope, no luck over here. There seems to be a big difference in size between the ARP_JailMod.amxx that I have vs what I downloaded from you guys. Mine is like 25kb and the one i downloaded from mallic is like 12kb. Would it be possible to get you guys to upload everything relate to JailMod (.amxx, .sma, etc) and I'll see if that helps?
Thanks again!
Do me a favor and show me the contents of your plugins.ini and plugins-arp.ini. I know for a fact what I uploaded works with the base ARP and the most recent version of AMXX with the TS compatibility plugin that is on the AMXX downloads page.
Looks like you don't have the TS addon for AMX. I recall vaguely that for some functions to work, you need the tsfun module, which is in that addon pack. (warning, if you add that pack, it overwrites some files, so you might have to merge what you selected in some config files into the ones you are dropping in.
tsfun_amxx.dll is in the amxmodx\modules folder and is enabled in the amxmodx\configs\modules.ini
Wait...I dont know what I did but now its working...Neat!
Thanks for your help, @mallic!
@Gregoru3746 For clarity, which ARP_JailMod.amxx
file are you currently using? I'd like to make sure I roll that one into master.
@Gregoru3746 For clarity, which
ARP_JailMod.amxx
file are you currently using? I'd like to make sure I roll that one into master.
I am using this one from @mallic: http://kbargaming.com/files/ARP_JailMod.amxx
Thank you all for your help!
I am using this one from @mallic: http://kbargaming.com/files/ARP_JailMod.amxx
Thank you all for your help!
Great, thanks! I replaced the ARP_JailMod.amxx
file on master with this one.
Also, I know this is unrelated to the original post, but does his copy fix zones? In the current github version, there is no explanation on how to use zones and trying to put one in, makes every single door entity just say the title of whatever is in zone 1.
Could you file another issue for this problem please?
Hello Douglas,
sorry to bother you again. There is an issue regarding the ARP_Jailmod.amxx plugin. The jailmod locations have been set up as follows:
;carolincity_b2.ini [Jail One] origin "2548 -2435 124" command "1"
[Jail Two] origin "2560 -2308 124" command "2"
[Jail Three] origin "2563 -2186 124" command "3"
The issue we are currently facing is the menu that does nothing whenever we attempt to send an unruly player to jail.
L 12/03/2018 - 09:24:28: Invalid trie handle provided (600) L 12/03/2018 - 09:24:28: [AMXX] Run time error 10 (plugin "ARP_JailMod.amxx") (native "TrieKeyExists") - debug not enabled! L 12/03/2018 - 09:24:28: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Can you please help and give us an explanation on how to use it correctly?
Thank you so much in advance, Sidewinder92