This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Module: Orpheu (v2.6.3)


Post New Thread Reply   
 
Thread Tools Display Modes
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 06-07-2013 , 09:26   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1071

try this code !
Code:
{
	"name" : "SetAnimation",
	"class" : "CBasePlayer",
	"library" : "mod",
	"arguments" : 
	[
		{
			"type" : "PLAYER_ANIM"
		}
	],
	"identifiers":
	[
		{
			"os"    : "windows",
			"mod"   : "cstrike",
			"value" : [0x83,"*","*",0x53,0x55,0x8B,"*",0x56,0x57,0x8B,"*","*",0x8B,"*","*","*","*","*",0x85]
		},
		{
			"os"    : "linux",
			"mod"   : "cstrike",
			"value" : "_ZN11CBasePlayer12SetAnimationE11PLAYER_ANIM"
		}
	]
}
and you'd better create a new thread instead of here..
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-09-2013 , 15:18   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1072

Quote:
Originally Posted by K.K.Lv View Post
try this code !
Code:
{
	"name" : "SetAnimation",
	"class" : "CBasePlayer",
	"library" : "mod",
	"arguments" : 
	[
		{
			"type" : "PLAYER_ANIM"
		}
	],
	"identifiers":
	[
		{
			"os"    : "windows",
			"mod"   : "cstrike",
			"value" : [0x83,"*","*",0x53,0x55,0x8B,"*",0x56,0x57,0x8B,"*","*",0x8B,"*","*","*","*","*",0x85]
		},
		{
			"os"    : "linux",
			"mod"   : "cstrike",
			"value" : "_ZN11CBasePlayer12SetAnimationE11PLAYER_ANIM"
		}
	]
}
and you'd better create a new thread instead of here..
Quote:
Parsing file "SetAnimation" started
Argument type "PLAYER_ANIM" validated
Searching for signature "[0x83][*][*][0x53][0x55](...)" ... FOUND
Parsing file "SetAnimation" ended
Thank you so much!
.Dare Devil. is offline
lqlqlq
Senior Member
Join Date: Jan 2008
Old 06-15-2013 , 09:32   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1073

why this doesnt work ?
Code:
#include < amxmodx >
#include < orpheu_memory >
#define precache_weapon(%1,%2) OrpheuMemoryReplace(g_str_weaponmodels,0,%1,%2)
new const g_str_weaponmodels[ ] = "weaponModels";
public plugin_precache( )
{ 
precache_weapon("models/v_ak47.mdl", "models/css/v_ak47.mdl");
precache_weapon("models/v_aug.mdl", "models/css/v_aug.mdl");
precache_weapon("models/v_awp.mdl", "models/css/v_awp.mdl");
precache_weapon("models/v_c4.mdl", "models/css/v_c4.mdl");
precache_weapon("models/v_deagle.mdl","models/css/v_deagle.mdl");
precache_weapon("models/v_elite.mdl", "models/css/v_elite.mdl");
precache_weapon("models/v_famas.mdl", "models/css/v_famas.mdl");
precache_weapon("models/v_fiveseven.mdl", "models/css/v_fiveseven.mdl");
precache_weapon("models/v_flashbang.mdl", "models/css/v_flashbang.mdl");
precache_weapon("models/v_g3sg1.mdl", "models/css/v_g3sg1.mdl");
precache_weapon("models/v_galil.mdl", "models/css/v_galil.mdl");
precache_weapon("models/v_glock18.mdl", "models/css/v_glock18.mdl");
precache_weapon("models/v_hegrenade.mdl", "models/css/v_hegrenade.mdl");
precache_weapon("models/v_knife.mdl", "models/css/v_knife.mdl");
precache_weapon("models/v_m3.mdl", "models/css/v_m3.mdl");
precache_weapon("models/v_m4a1.mdl", "models/css/v_m4a1.mdl");
precache_weapon("models/v_m249.mdl", "models/css/v_m249.mdl");
precache_weapon("models/v_mac10.mdl", "models/css/v_mac10.mdl");
precache_weapon("models/v_mp5.mdl", "models/css/v_mp5.mdl");
precache_weapon("models/v_p90.mdl", "models/css/v_p90.mdl");
precache_weapon("models/v_p228.mdl", "models/css/v_p228.mdl");
precache_weapon("models/v_scout.mdl", "models/css/v_scout.mdl");
precache_weapon("models/v_sg550.mdl", "models/css/v_sg550.mdl");
precache_weapon("models/v_sg552.mdl", "models/css/v_sg552.mdl");
precache_weapon("models/v_smokegrenade.mdl", "models/css/v_smokegrenade.mdl");
precache_weapon("models/v_tmp.mdl", "models/css/v_tmp.mdl");
precache_weapon("models/v_ump45.mdl", "models/css/v_ump45.mdl");
precache_weapon("models/v_usp.mdl", "models/css/v_usp.mdl");
precache_weapon("models/v_xm1014.mdl", "models/css/v_xm1014.mdl");
}
it shows me an error:
Quote:
FATAL ERROR (shutting down): Mod_NumForName: mdl not found
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
memory: weaponModels:
Code:
{
    "name"        : "weaponModels",
    "library"     : "mod",
    "type"        : "string",
    "memoryType"  : "data"
}
hlds version: 6027
AMXX: 1.83
Metamod: 1.21
Orpheu: 2.5.1

Last edited by lqlqlq; 06-15-2013 at 09:37.
lqlqlq is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 06-15-2013 , 10:11   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1074

Quote:
Originally Posted by Arkshine View Post
@joropito : Already talked about that with Quim, I think I will start a page on the wiki. About the strings, it changes the strings so yes, like Quim has warned "you should not use replacement strings longer than the original.", because obviously you will overwrite the next area and you will get probably a crash.

@01101101 : Wait for Quim, it seems the type is not included yet. I'm not sure.
__________________

Last edited by Bos93; 06-15-2013 at 10:13.
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Bos93
Veteran Member
Join Date: Jul 2010
Old 06-22-2013 , 15:55   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1075

I get error:

PHP Code:
Protocol version 48
Exe version 1.1.2.7
/Stdio (cstrike)
Exe build17:45:07 Apr 25 2013 (6027)
STEAM Auth Server
Server IP address 89.223.41.156
:27015

   Metamod version 1.21
-am  Copyright (c2001-2013 Will Day <willday@metamod.org>
   
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type 
`meta gpl' for details.


   AMX Mod X version 1.8.2 Copyright (c) 2004-2006 AMX Mod X Development Team
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'
.
   
This is free software and you are welcome to redistribute it under
   certain conditions
type 'amxx gpl' for details.

L 06/23/2013 00:19:08: -------- Mapchange to de_dust --------
stray key in process_keyitem_getiteminfo 61
terminate called after throwing an instance of 
'std::runtime_error'
  
what():  locale::facet::_S_create_c_locale name not valid
Aborted 

Last version( 2.5.1 )
__________________

Last edited by Bos93; 06-22-2013 at 16:23.
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-22-2013 , 17:47   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1076

It would seem your system is misconfigured and it would seem a fix has been shipped in the Boost's svn trunk ( ticket ) to prevent error ; so after latest official version 1.53, used with Oprheu. I really don't feel like to compile again Boost, because it's a pain in the ass. Well don't know. For now, try to understand the bug and fix your server, or recompile boost.
__________________
Arkshine is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 06-23-2013 , 07:26   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1077

My hoster told me that he won't put that patch. Server has Debian 6.0 with 3.2 core from backports
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-23-2013 , 07:34   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1078

The patch is for Boost, a library used in Orpheu, and it fixes to prevent crash on misconfigured server. What you host has to do, is to check the misconfigured part, something it seems related to LANG=. Well don't know much.
__________________
Arkshine is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 06-23-2013 , 07:47   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1079

LANG= where is it ?
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-23-2013 , 07:48   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1080

That's why I've said "try to understand the bug" because I don't know much. There is something misconfigured. Maybe if you show this ticket to your host, they will understand.
__________________
Arkshine is offline
Reply



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 22:14.


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