View Single Post
Solokiller
Senior Member
Join Date: Sep 2015
Old 10-18-2016 , 04:32   Re: Sven Co-op 5.0 gamedata thread
Reply With Quote #6

Quote:
Originally Posted by KliPPy View Post
I didn't have real names for these offsets so I named them myself following the naming convention that Valve mostly uses.
I've got you covered on that: http://samvanheer.github.io/SC_Angel...mInventory.htm

Scroll down to the properties; m_pHolder is the first item_inventory property.
Assuming they kept the AS API up to date with changes to the entity, this should be everything you need.
See http://samvanheer.github.io/SC_Angel...BaseEntity.htm for CBaseEntity properties so you can filter out the stuff that isn't part of item_inventory.

Also related to inventory:
http://samvanheer.github.io/SC_Angel...ntoryRules.htm
http://samvanheer.github.io/SC_Angel...entoryList.htm
http://samvanheer.github.io/SC_Angel...entoryMisc.htm

See https://github.com/SamVanheer/SC_Ang...mmits/gh-pages for the changes made to the API since the last version i uploaded. Apparently all they did is remove features, no surprise there.

There is a way to get the Angelscript engine pointer; with some tricks you can extract all of the data from it and get the offsets for every member variable, the address of every method, function and global. You can also use it to add new API functionality, though you'll need to use some serious C++ magic to get strings to work since they get their memory from the server library's heap.

Quote:
Originally Posted by PartialCloning View Post
Support for SvenCoop should be completely dropped. It seems they're going out of their way to make amx incompatible with their game.
They don't understand what kind of effect their changes have on AMX, and they don't test thoroughly enough to spot any mistakes. I'd organize public tests to find this stuff but they won't go there.
Releasing early and often would definitely help to catch compatibility issues, having at least one person doing AMX compat testing on their internal branch would help catch these problems.

Quote:
Originally Posted by KliPPy View Post
I don't blame them, and I believe they are really trying hard not to. But you can't really improve much unless you drop some backwards compatibility.
Though just them giving us gamedata would mean they greatly support AMXX.
I'll quote them directly on this:

Quote:
[4/02/2016 23:28:24] AdamR: Debugging info isn't really meant to be given out for closed source projects.
[4/02/2016 23:28:48] AdamR: That's pretty much an invitation to reverse engineer and modify the executable.
Not that that will stop anyone from reverse engineering their code. With enough time and effort you can get anything you want out of their game libraries because they added some debug info to their Linux libraries.

Quote:
Originally Posted by Depresie View Post
Don't bother, Arks offered his help on this matter, they didn't even bother to answer him, why should we bother ?
Trying and getting no help is better than doing nothing and then being accused of lying when you say they wouldn't help. Arkshine contacted me and i gave him the official response, i also directed him to Sniper but he apparently never replied.

I'm not going to say they don't care, i think it's more likely that they think they know what's best. Whether that's actually true or not remains to be seen. I wouldn't hold my breath if i were you.
Solokiller is offline