Raised This Month: $51 Target: $400
 12% 

Possible to write a native that searches pvPrivateData ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-31-2004 , 19:22   Possible to write a native that searches pvPrivateData ?
Reply With Quote #1

Is this possible, so that way we don't have to guess as to what each offsets do, because I keep getting runtime errors (most likely bc the offsets that i'm looking for don't exist).
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
BAILOPAN
Join Date: Jan 2004
Old 03-31-2004 , 19:30  
Reply With Quote #2

this would have a one time use and is not very helpful.

why can't you just use the get_offset* commands?

either way JGHG has noticed that the offset commands are totally broken in 0.16. for a number of reasons all offset code will be totally redone for 0.20
__________________
egg
BAILOPAN is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-31-2004 , 19:33  
Reply With Quote #3

Ok I'll hold off til the next version
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-31-2004 , 20:26   Yeah
Reply With Quote #4

Bail: I also Will await new 0.2 version because I wanna get started with learn this also..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
BAILOPAN
Join Date: Jan 2004
Old 03-31-2004 , 20:46  
Reply With Quote #5

if people are wondering what's broken:

pvprivatedata cannot be accessed until clients are fully initialized and in game. to prevent plugins from accidentally crashing the server there needs to be checks in place for both bots and clients, and it is silly to reimplement those checks in every module that access private data.

in order to get around this the 0.2 module API will allow us to hook the AMXx core to see if players are initialized correctly.

to attempt this in 0.16 I made a trivial hack of hooking PutInServer and setting a pvPrivateData "enabled" flag, but sadly, I never actually hooked the function in metamod so get_offset will always fail in 0.16
__________________
egg
BAILOPAN is offline
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-31-2004 , 21:28   ahh
Reply With Quote #6

Ahh ic thanx for the update bail.. makes sense now why it doesn't work.. We'll when 0.2 comes out I want to learn how to do this..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
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 00:05.


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