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


Raised This Month: $ Target: $400
 0% 

Module: Ham Sandwich


Post New Thread Closed Thread   
 
Thread Tools Display Modes
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 06-19-2007 , 18:52   Re: Module: Ham Sandwich
#71

Well, there appears to be some very useful stuff in the game rules objects, however... there isn't any reliable way to get the pointer for the Windows binary without hard-coding an offset.

I can't think of any elegant way to implement it. I'll think about it over the next couple days, no promises.
__________________
fyren sucks
sawce is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 07-05-2007 , 02:15   Re: Module: Ham Sandwich
#72

Updated

new native: RegisterHamFromEntity - for classes who do not have a map-based classname.
TS 3.0 support (deprecated Ham_TS_RespawnWait as it was removed from the virtual table in 3.0)

Not really tested that much yet
Attached Files
File Type: zip hamsandwich.zip (146.7 KB, 4310 views)
__________________
fyren sucks
sawce is offline
felle22
Junior Member
Join Date: Jun 2007
Old 07-15-2007 , 16:03   Re: Module: Ham Sandwich
#73

How do you install this plugin i can install all others but this seems quite hard :S
felle22 is offline
felle22
Junior Member
Join Date: Jun 2007
Old 07-15-2007 , 16:13   Re: Module: Ham Sandwich
#74

ISNT IT ANY PLUGIN TO TJHIS??
felle22 is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 07-15-2007 , 21:57   Re: Module: Ham Sandwich
#75

What?

It's a module
__________________
fyren sucks
sawce is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 08-15-2007 , 17:47   Re: Module: Ham Sandwich
#76

I'm not sure if i'm using the correct syntax for this, but shouldn't this work?
Code:
public function(id) {     if(ExecuteHam(Ham_IsAlive,id)) {         client_print(id,print_chat,"Yup, you sure are alive.");     } }

When activating it, i get:
Quote:
Originally Posted by Console
L 08/15/2007 - 17:44:28: [AMXX] Plugin ("NPCGuard.amxx") is setting itself as failed.
L 08/15/2007 - 17:44:28: [AMXX] Plugin says: Function isalive is not configured in hamdata.ini.
L 08/15/2007 - 17:44:28: [AMXX] Run time error 1 (plugin "NPCGuard.amxx") - forced exit.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-15-2007 , 17:49   Re: Module: Ham Sandwich
#77

Did you put the hamdata.ini file in your AMXX configs directory? What mod/OS are you running?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 08-15-2007 , 18:09   Re: Module: Ham Sandwich
#78

Quote:
Originally Posted by XxAvalanchexX View Post
Did you put the hamdata.ini file in your AMXX configs directory? What mod/OS are you running?
Yup, the data file is in the config dir.
Windows 2003 / SvenCoop.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 08-15-2007 , 21:47   Re: Module: Ham Sandwich
#79

Did you completely reset the server after adding that to the config folder?

If so, paste the output of the following server command:

ham list
__________________
fyren sucks
sawce is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 08-16-2007 , 00:57   Re: Module: Ham Sandwich
#80

Quote:
Originally Posted by sawce View Post
Did you completely reset the server after adding that to the config folder?

If so, paste the output of the following server command:

ham list
Yeah I did, and here's the dump of the "ham list" command.
Quote:
Originally Posted by Console

L 08/16/2007 - 00:57:46: [AMXX] Plugin ("tsslow.amxx") is setting itself as failed.
L 08/16/2007 - 00:57:46: [AMXX] Plugin says: Function isalive is not configured in hamdata.ini.
L 08/16/2007 - 00:57:46: [AMXX] Run time error 1 (plugin "tsslow.amxx") - forced exit
] ham list
Name | Set
------------------------------------
pev | 4
base | 0
takedamage | 11
use | 46

130 keys, 4 set
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Closed Thread



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 12:54.


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