![]() Shoutbox (View Full Shoutbox)
|
||||
Click Refresh to load shouts. |
||||
|
[8.54]Error in Tibia
|
|
02-25-2010, 11:40 AM
Post: #1
|
|||
|
|||
|
[8.54]Error in Tibia
Piece of code:
Code: public enum TurnDirectionsand the error i get (I Lauched tibia, logged in and Lauched the bot... and error) ![]() Thenk you very mutch for help. Marek677 |
|||
|
02-25-2010, 05:54 PM
Post: #2
|
|||
|
|||
|
RE: [8.54]Error in Tibia
You should not be calling that function from the DLL_PROCESS_ATTACH. In general, you don't want to do much of anything in the attach function, except spawn off threads to actually do your work.
TibiaAPI, SharpOT |
|||
|
02-26-2010, 03:04 AM
Post: #3
|
|||
|
|||
|
RE: [8.54]Error in Tibia
It might be that you declared the dir function to take an enum as argument, try using an int or something like that.
|
|||
|
02-26-2010, 04:04 AM
Post: #4
|
|||
|
|||
RE: [8.54]Error in Tibia
(02-25-2010 11:40 AM)marek677 Wrote: Piece of code: try this: Code: enum TurnDirections |
|||
|
02-26-2010, 05:41 AM
Post: #5
|
|||
|
|||
|
RE: [8.54]Error in Tibia
i tryed... but it doesnt works. Acctualy i have it now...
Code: typedef void _FaceUp();Anti kick tool done
|
|||
|
02-26-2010, 03:50 PM
(This post was last modified: 02-26-2010 03:52 PM by volf ram. Edit Reason: N/A)
Post: #6
|
|||
|
|||
|
RE: [8.54]Error in Tibia
Just wondering, but your original error message indicated something had gone wrong with the stack. Also, when you used the parameterless version, you say it worked.
Are you sure you were using the correct calling convention? The function at 004CFE70h seems to use something like stdcall. |
|||
|
02-26-2010, 04:23 PM
(This post was last modified: 02-26-2010 04:27 PM by beziak. Edit Reason: )
Post: #7
|
|||
|
|||
RE: [8.54]Error in Tibia
(02-26-2010 03:50 PM)volf ram Wrote: Just wondering, but your original error message indicated something had gone wrong with the stack. Also, when you used the parameterless version, you say it worked. Your're right - its stdcall You can recognize it by "RETN 4". Called function pops its own arguments from the stack. |
|||
|
« Next Oldest | Next Newest »
|

![[-]](images/mint/collapse.gif)


![[Image: errorpj.th.png]](http://img26.imageshack.us/img26/5281/errorpj.th.png)


