Raised This Month: $115 Target: $400
 28% 

[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 , 03: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 03:20.
aron9forever is online now
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-13-2017 , 08: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
Member
Join Date: Jun 2016
Location: New York
Old 11-13-2017 , 08: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 , 09: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 online now
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 09:38.


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