Comments (3)
Mein Fehler. Der IntPtr, der ReadNodeInfo übergeben wird, ist nicht die Adresse, sondern der Wert des Knotens an dieser Adresse. Ich habe jetzt noch einen neuen Parameter für die Knoten-Adresse hinzugefügt.
from reclass.net.
A node doesn't know its address only the offset to the parent class. The real address is only important while rendering the node and then there is a related view object which knows the address.
To get the address of the parent of the current node you can calculate it from the information you have.
string ReadNodeInfo(BaseNode node, IntPtr value, MemoryBuffer memory)
{
var parentAddress = value - node.Offset;
...
}
I hope this helps. Should the ReadNodeInfo contain more informations?
(Du kannst auch auf deutsch schreiben, wenns dann klarer wird.)
from reclass.net.
Well ok, I'm trying it in german, sry to the non-german people :'(
Also ich brauch wohl von der View die Adresse (oder einfach die ganze View, das "Wie" ist dabei dir überlassen :) ).
Ich versuche es nochmal an einem Beispiel zu erklären.
Im nachfolgenden Screenshot befinde ich mich in der VeniceSoldierCustomizationAsset Klasse, die sieht wie folgt aus:
So, und damit ich jetzt für den Offset 0x50 den Namen bspw. auslesen kann (also m_ClassSpecializationTable), muss ich wissen, in welcher TypeInfo-Klasse ich mich befinde (also VeniceSoldierCustomizationAsset). Damit ich das kann muss ich aber den Pointer 0x141C44180 lesen.
Diesen wiederrum kann ich nicht alleine aus den übergebenen Argumenten (eine BaseNode mit dem Offset 0x50 und ein IntPtr mit dem Wert 0xD3A9E0A0) ermitteln, aber aus 0xD3A9DDD0 (also der View-Adresse) und dem Offset.
Wenn du also zusätzlich die View-Adresse an die Methode mit übergeben könntest, wäre ich dir sehr verbunden :)
from reclass.net.
Related Issues (20)
- ReClass broke down HOT 2
- Mohand
- Wrong code generated HOT 2
- Can't Load .RCNET Project Files HOT 6
- Ubuntu 22.04 unable to attach process (freeze) HOT 1
- Compilation Problems HOT 5
- Inserting bytes throws an unhandled exception HOT 1
- How to use custom types like ReClassEx?
- auto class recognition
- Questions: contributing guideline?
- Couldn't load `NativeCore.dll`
- Loading project - System.IO.Compression Error HOT 1
- I Fixed ---- Arithmetic operation resulted in an overflow. (ReClass.NET) HOT 1
- Reclass pointers HOT 1
- Heap pointer HOT 6
- How to install on Ubuntu? HOT 1
- Sequence contains no elements (System.Core) HOT 2
- Whats the easiest method to add hotkeys?
- Add dark mode HOT 2
- Display class as 4 bytes per row? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reclass.net.