Raised This Month: $123 Target: $400
 30% 

[META] ERROR: Failed to find memloc for regcmd 'orpheu'


Post New Thread Reply   
 
Thread Tools Display Modes
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 11-13-2017 , 02:18   Re: [META] ERROR: Failed to find memloc for regcmd 'orpheu'
Reply With Quote #21

though mostly unrelated, consider that a much simpler workaround is to just slay the player if he spawns too late in the round
g_canspawn = true

at round start, set a task to set g_canspawn = false after some time you consider they shouldn't be able to spawn anymore

on ham_spawn post, check if g_canspawn, and if it's false, slay the player (you might want to do this with a slight delay, say, a 1 second task)



as a side-note, is this maybe possible (and simpler) with reAPI?
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.

Last edited by aron9forever; 11-13-2017 at 02:20.
aron9forever is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-13-2017 , 07:40   Re: [META] ERROR: Failed to find memloc for regcmd 'orpheu'
Reply With Quote #22

Quote:
Originally Posted by aron9forever View Post
though mostly unrelated, consider that a much simpler workaround is to just slay the player if he spawns too late in the round
g_canspawn = true

at round start, set a task to set g_canspawn = false after some time you consider they shouldn't be able to spawn anymore

on ham_spawn post, check if g_canspawn, and if it's false, slay the player (you might want to do this with a slight delay, say, a 1 second task)



as a side-note, is this maybe possible (and simpler) with reAPI?
In that case, you would have to reset their deaths as well. Orpheu method is much simpler than that.
__________________
Spirit_12 is offline
ZEDD_Intensity
AlliedModders Donor
Join Date: Jun 2016
Location: New York
Old 11-13-2017 , 07:52   Re: [META] ERROR: Failed to find memloc for regcmd 'orpheu'
Reply With Quote #23

Quote:
Originally Posted by Spirit_12 View Post
Usually, I don't get involved this much with plugin threads, but your way with words made me change my mind.

Add -condebug parameter to your server's startup line. This will create a log of everything that happens in your console and save it in your cstrike folder in console.log file. Bring us the output and we can further analyze and pin point the problem.
Greetings,

Uncommenting the bugged plugin, I awaited an extensive log file in /cstrike/ folder as you mentioned, which never appeared. Confirming that there is no console.log file in cstrike/, nor in cstrike/logs.

It took the server, less than 10 minutes to crash as my server has a bit of a traffic 24/7, as soon as a player tried to connect, it went off. Also confirming that cstrike/addons/amxmodx/logs has created nothing suspicious as well. I was expecting it to create an error log for the crash, but unfortunately, it didn't.

I thought it'd be a good idea to paste my StartServer Command Line here for an additional clarity.
PHP Code:
#!/bin/bash
screen ----S csserver ./hlds_run -console -game cstrike +ip XX.XXX.XX.XX -port 27015 +maxplayers 32 -pingboost 1 -autoupdate -condebug -autorestart +map de_dust > /dev/null >&
Please let me know if it needs any change at this point.

Regards,
ZEDD
ZEDD_Intensity is offline
Send a message via Skype™ to ZEDD_Intensity
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 11-13-2017 , 08:17   Re: [META] ERROR: Failed to find memloc for regcmd 'orpheu'
Reply With Quote #24

Quote:
Originally Posted by Spirit_12 View Post
In that case, you would have to reset their deaths as well. Orpheu method is much simpler than that.
user_silentkill() blocks deathmsg then calles user_kill() with flag 1, meaning it will not update the score
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
iguaan
New Member
Join Date: Feb 2017
Old 11-24-2017 , 18:59   Re: [META] ERROR: Failed to find memloc for regcmd 'orpheu'
Reply With Quote #25

IIRC this is an error with the brr_nokill plugin.

I think I did these changes and it started working:
Quote:
Originally Posted by Valer4 View Post
For work!
CS 1.6, Linux, server build 6153:
/addons/amxmodx/configs/orpheu/functions/InstallGameRules
19 line - "value" : "_Z16InstallGameRulesv"
/addons/amxmodx/configs/orpheu/virtualFunctions/CGameRules/FPlayerCanRespawn
30 line - "value" : 20
EDIT: Tested it by changing the '20' back to '22', server crashed with Segmentation Fault whenever someone tried to abuse 'retry'

EDIT2: Just had the same error and orpheu "error" was the last message aswell. The issue is NOT with orpheu, it's just the last thing game shows before crashing. My issue was with some plugins (throw c4, bazooka, rainysnow). I had to compile the plugins myself on local pc, the auto-compiled versions didn't work for some reason.

Last edited by iguaan; 11-25-2017 at 12:05.
iguaan is offline
Reply


Thread Tools
Display Modes

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 13:53.


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