View Single Post
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Aug 23, 2006, 09:51 PM
Grytolle is offline
Reply With Quote
Since I am such a nice guy and feel like annoying jam, not to mention want to prove that both forest and pc4 are made for the fun of developing... Here's the code for synching with the listserver! I wish you all luck with your developing Overlord, and perhaps you can put me in the credits for somehting I foudn out myself this time (Note that the second CRT in the functions can't be used for listing a server that was previously unlisted ofr some unknown to me reason.

Code:
inline void Jazz2::UpdateListServer() {
	CreateRemoteThread(pHandle, NULL, NULL,(LPTHREAD_START_ROUTINE)0x485F40,NULL, NULL, NULL); // delists server
	CreateRemoteThread(pHandle, NULL, NULL,(LPTHREAD_START_ROUTINE)0x485F60,NULL, NULL, NULL); // relists server
}

inline void Jazz2::TSFUpdateListServer() {
	CreateRemoteThread(pHandle, NULL, NULL,(LPTHREAD_START_ROUTINE)0x4854E0,NULL, NULL, NULL);
	CreateRemoteThread(pHandle, NULL, NULL,(LPTHREAD_START_ROUTINE)0x485500,NULL, NULL, NULL);
}
Edit: To clear things up: Neobeo found out how to delist a server for 1.23 and I found the rest out :P
__________________
<center></center>