Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Last Chaos
You last visited: Today at 18:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



SendToServerNew usage...

Discussion on SendToServerNew usage... within the Last Chaos forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2012
Posts: 193
Received Thanks: 325
Unhappy SendToServerNew usage...

Hello! I have an address the SendToServerNew and I can set breakpoint on it. Everything works that I want. but I don't know how to use SendToServerNew with my program (I write on delphi). Whether someone can give any code example or show the right way for work? What parameters to set? Earlier the declaration of SendToServerNew was

public: void __thiscall CMessageDispatcher::SendToServerNew(class CNetworkMessage const &,int)

May I correctly call this function with Delphi? And sorry for my poor English...
iamdss is offline  
Thanks
1 User
Old 07/14/2013, 09:08   #2
 
dsfgd's Avatar
 
elite*gold: 2
Join Date: Aug 2007
Posts: 599
Received Thanks: 2,927
note 1: this code is for an injected dll, you cannot use this in a exe, the reason is the packet encryption and session id
note 2: you need the CNetworkMessage Class from engine.dll source code (i will not give you this, don't ask me, ask google)
note 3: this code is outdated and will not work on current EP2 server (Gamigo, Aeria, Destiny, ... )

types.h:
Code:
typedef signed __int64     SQUAD;
typedef signed long  int   SLONG;
typedef signed short int   SWORD;
typedef signed char	       SBYTE;
typedef signed int         SINT;
typedef unsigned __int64   UQUAD;
typedef unsigned long  int ULONG;
typedef unsigned short int UWORD;
typedef unsigned char      UBYTE;
typedef unsigned int       UINT;
typedef int BOOL;		        // this is for TRUE/FALSE
typedef long int RESULT;		// for error codes
typedef long int INDEX;     // for indexed values and quantities
typedef SLONG  PIX;    // pixel coordinates
typedef SLONG  TEX;    // texel coordinates
typedef SLONG  MEX;    // texels in mip-level 0
typedef float  FLOAT;
typedef double DOUBLE;
typedef float  ANGLE;
typedef float  TIME;
typedef FLOAT  RANGE;
typedef ULONG  COLOR;  // color is always in 32 bit true-color format

class CNetworkMessage;
class CTString;
network.h:
Code:
typedef void (__stdcall* funcSendToServerNew)(const CNetworkMessage&, BOOL);
void SendToServerNew(const CNetworkMessage &nmMessage, BOOL bLogin = false);
network.cpp:
Code:
void SendToServerNew(const CNetworkMessage &nmMessage, BOOL bLogin)
{
	funcSendToServerNew function = (funcSendToServerNew)GetProcAddress(GetModuleHandle("Engine.dll"), "?SendToServerNew@CMessageDispatcher@@QAEXABVCNetworkMessage@@H@Z");
	function(nmMessage, bLogin);
}
to use this: (example: delete item)
Code:
void SendItemDelete(SBYTE iTab, SBYTE iRow, SBYTE iCol, INDEX UniIndex, SQUAD count)
{
	CNetworkMessage nmItem(MSG_ITEM);
	nmItem << (SBYTE)MSG_ITEM_DELETE << iTab << iRow << iCol << UniIndex << count;
	SendToServerNew(nmItem);
}
dsfgd is offline  
Thanks
2 Users
Old 07/14/2013, 11:17   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 193
Received Thanks: 325
Thanks a lot! I will try it when I'll come from work. Is CNetworkMessage Class the common for some other apps? Or is the native for Last Chaos?
iamdss is offline  
Old 07/14/2013, 12:41   #4
 
elite*gold: 16
Join Date: Sep 2012
Posts: 1,005
Received Thanks: 982
CNetwork:
It is not the newest but it should do the job

Greets
Samker is offline  
Old 07/14/2013, 20:07   #5
 
elite*gold: 0
Join Date: Jan 2012
Posts: 193
Received Thanks: 325
Thank you very much! But file is expired, i'll try to find by myself...

Quote:
Originally Posted by dsfgd View Post
this code is outdated and will not work on current EP2 server (Gamigo, Aeria, Destiny, ... )
Whether only because receiving the function address by symbolname? isn't critical, I think.

CNetworkMessage - I took it from svn:
(If to be useful to somebody)
iamdss is offline  
Old 07/15/2013, 01:25   #6
 
PizzaGuy's Avatar
 
elite*gold: 0
Join Date: Jul 2013
Posts: 435
Received Thanks: 480
Quote:
Originally Posted by iamdss View Post
Thank you very much! But file is expired, i'll try to find by myself...



Whether only because receiving the function address by symbolname? isn't critical, I think.

CNetworkMessage - I took it from svn:
(If to be useful to somebody)
Correct with function names stripped, you will just need to migrate over to using signature scans.
PizzaGuy is offline  
Old 07/15/2013, 02:53   #7
 
dsfgd's Avatar
 
elite*gold: 2
Join Date: Aug 2007
Posts: 599
Received Thanks: 2,927
Quote:
Originally Posted by iamdss View Post
CNetworkMessage - I took it from svn:
(If to be useful to somebody)
The CNetworkMessage class is a Last Chaos specific class, no other game or tool uses this, you NEED the full engine.dll source code, because you need more then just CNetworkMessage to get it working, it is illegal to post this code, because it's copyright protected.

And yes, for the current EP2 server you need signature (AOB) scans, but also lots of other stuff was changed to protect against my private hack.
dsfgd is offline  
Old 07/15/2013, 08:48   #8
 
elite*gold: 0
Join Date: Jan 2012
Posts: 193
Received Thanks: 325
You're right, I use sginature search but also debugger, which works perfectly.

Quote:
Originally Posted by dsfgd View Post
it is illegal to post this code, because it's copyright protected.
I got it. And my question "is there a chance to find source code of engine.dll?" I still look for...

Other question, isn't better to use encrypt function and send packets directly?
iamdss is offline  
Old 07/27/2013, 14:16   #9
 
elite*gold: 0
Join Date: Jul 2013
Posts: 3
Received Thanks: 0
я играю в игру Last Chaos я 162 уровня и уже тяжко качать персонажа мне нужен чит помогите пожалуйста с уважением Алёна
Алёна is offline  
Old 07/27/2013, 18:34   #10
 
destro1's Avatar
 
elite*gold: 91
Join Date: May 2012
Posts: 3,312
Received Thanks: 700
Quote:
Originally Posted by Алёна View Post
я играю в игру Last Chaos я 162 уровня и уже тяжко качать персонажа мне нужен чит помогите пожалуйста с уважением Алёна
Use google translator and the .Net Trainer from Show.
destro1 is offline  
Thanks
1 User
Old 07/27/2013, 19:26   #11
 
elite*gold: 0
Join Date: Jul 2013
Posts: 3
Received Thanks: 0
вы не поняли мне нужен чит что бы увеличить силу атаки что бы момбы падали с одного или двух ударов в Тарне (Google Translator) это что за чит?

Quote:
Originally Posted by destro1 View Post
Use google translator and the .Net Trainer from Show.
Quote:
Originally Posted by dsfgd View Post
The CNetworkMessage class is a Last Chaos specific class, no other game or tool uses this, you NEED the full engine.dll source code, because you need more then just CNetworkMessage to get it working, it is illegal to post this code, because it's copyright protected.

And yes, for the current EP2 server you need signature (AOB) scans, but also lots of other stuff was changed to protect against my private hack.
помоги пожалуйста
Алёна is offline  
Old 07/27/2013, 20:47   #12
 
dsfgd's Avatar
 
elite*gold: 2
Join Date: Aug 2007
Posts: 599
Received Thanks: 2,927
English:
There is no damage hack!!!
Stop spamming my private messages.

Russian (Google Translate):
Там нет никаких повреждений рубить!
Остановите спам моего личного сообщения.
dsfgd is offline  
Old 07/27/2013, 21:04   #13
 
elite*gold: 0
Join Date: Jul 2013
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by dsfgd View Post
English:
There is no damage hack!!!
Stop spamming my private messages.

Russian (Google Translate):
Там нет никаких повреждений рубить!
Остановите спам моего личного сообщения.
а где его скачать? (Google Translate) где скачать ссылку можно?

Quote:
Originally Posted by destro1 View Post
Use google translator and the .Net Trainer from Show.
где скачать играю Арбалетчицей Last Chaos очень тяжкий кач нужен чит
Алёна is offline  
Old 09/01/2013, 10:56   #14
 
PizzaGuy's Avatar
 
elite*gold: 0
Join Date: Jul 2013
Posts: 435
Received Thanks: 480
Quote:
Originally Posted by dsfgd View Post
English:
There is no damage hack!!!
Stop spamming my private messages.

Russian (Google Translate):
Там нет никаких повреждений рубить!
Остановите спам моего личного сообщения.
There is if we're talking about DPS.
PizzaGuy is offline  
Reply

Tags
sendtoservernew


Similar Threads Similar Threads
CPU Usage
03/06/2013 - Conquer Online 2 - 0 Replies
Can someone do some coding and get rid of this problem? Or tell me how I can do it? I formated and reinstalled windows 7.. CO leaked before but was manageable. Now it runs at 98 pct CPU, drains my physical memory down to 42 free and all this is making my poor cpu run at 92 degrees C. Ive been on all types of forums, shut down essentially everything running in windows and even tried the dumb process explorer "Kill the extra conquer.exes" which only served to disconnect me constantly. PLEASE...
CPU Usage
03/07/2012 - Kal Online - 13 Replies
Any one know how to solve this problem, my kalonline using 70 - 80% of my cpu, my cpu is intel petium dual core E2220 @2,40GHz, im using windows 7 64 bits with 4gb memory, if any one know any solution please say Thx.
CPU usage 80% when i am looking at SRO
01/13/2011 - Silkroad Online - 31 Replies
What i mean is when i alt tab to SRO , i get 80% cpu usage, if i alt tab out to other window (no longer looking at sro) i get 5% cpu usage... I got a Core2Duo 2.66ghz, should be able to run this shit fine (only 1 client)
[Help]Ram Usage
09/28/2010 - CO2 Private Server - 18 Replies
Hey guys...I don't know if anything like this have happened to you too but the source is eating up RAM slowly...I was wondering if all of this happens because of the timers (that repeat every .1 second) if so ... I have a lot of "if's" in them checking the servertime...would it reduce the ram usage by using a switch (Servertime.hr/day/blahblah) and make with cases? if this is not the problem of the ram usage can anybody tell me what causes this ram usage? EDIT: i'm talking about tanel's...



All times are GMT +1. The time now is 18:10.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.