|
You last visited: Today at 20:51
Advertisement
[ask] how to make a pw connection checker
Discussion on [ask] how to make a pw connection checker within the Perfect World forum part of the MMORPGs category.
10/20/2010, 06:29
|
#1
|
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
|
[ask] how to make a pw connection checker
When we have our bot running, there is only one thing that annoys us, the bot ends up not gaining exp as much as expected after a few hours, especially when we are afk but nearby. There are two reasons I can think of why it might happen, either being dead (by mob or pk'ed) or getting disconnected.
for death problem, we can make an alarm to sound based on char's HP and triggered when it reached zero, but what can I use for checking pw server connection status ?
is there a constant or static memory address that holds the information about our log-in condition ? or if you have other method please share it here
|
|
|
10/20/2010, 07:21
|
#2
|
elite*gold: 0
Join Date: Nov 2006
Posts: 70
Received Thanks: 0
|
hey smurfin, sry to be off topic here, but just saw u post and had a question for ur 3in1 smurfIN program:
i have all offsets right and is all set up but for EP heal + buff, when it targets my other char, it says "invalid skill" and the target HP on my EP screen is either not changing or its 0 (dead). anyway to fix this? i know this is an issue with MHS bot too... just want some feedback thanks
|
|
|
10/20/2010, 07:43
|
#3
|
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
|
sorry, but no, I don't have the fix for that problem yet.
|
|
|
10/20/2010, 11:48
|
#4
|
elite*gold: 0
Join Date: Jun 2008
Posts: 16
Received Thanks: 1
|
Quote:
Originally Posted by Smurfin
When we have our bot running, there is only one thing that annoys us, the bot ends up not gaining exp as much as expected after a few hours, especially when we are afk but nearby. There are two reasons I can think of why it might happen, either being dead (by mob or pk'ed) or getting disconnected.
for death problem, we can make an alarm to sound based on char's HP and triggered when it reached zero, but what can I use for checking pw server connection status ?
is there a constant or static memory address that holds the information about our log-in condition ? or if you have other method please share it here 
|
Maybe you can play around with this idea:
Get the player's HP and save it. If the value does not change for a certain period of time (ie for 5 minutes), probably player is not doing something, maybe stucked somewhere or got disconnected, you can send an alarm.
|
|
|
10/20/2010, 12:49
|
#5
|
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
|
yea, that's doable but not all of the running clients are exactly botting, some are only used for opening catshops or other things, sometimes only one or two clients are dc'ed while the others are fine, when it happened to the catshops, I'm just wasting time not selling anything
if I want to afk, I usually switch the active window to the bot so I can hear the sound of the bot working, watch tv or movies or just playing with my handheld for hours, but when I get back and check, sometimes some of them are dc'ed
|
|
|
10/20/2010, 15:24
|
#6
|
elite*gold: 0
Join Date: Jun 2008
Posts: 16
Received Thanks: 1
|
as for the catshop, if it is possible to capture the message in the chat box (trade/world chats), then i guess that can be a solution to the problem
|
|
|
10/20/2010, 21:17
|
#7
|
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
|
I have no resources on that so I use other thing for now, I just installed internet notification with alarm and so far it works, though it only play the sound once, should change to longer wavs
but still a specific connection checker to pw server for each client is more preferred, like windows' netstat that can show any established connections that's going on in my pc or if there is any value from the game that can be monitored and used for triggerring alarm if the value means dc'ed, but I have no resources on those either lol.
I'll just use that 3rd party app for now, thanks for the help and suggestions though
|
|
|
10/23/2010, 18:45
|
#8
|
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
|
I found an address that holds that info some time ago - I never needed it though and never kept it up to date, so its probably not correct anymore.
But searching for it is easy.
Log in, Search for 1 (4 bytes) in CE.
Narrow that down by relooking for 1 until you get a managable address heap.
Now DC, do this by pulling out your lan cable, Killing WLAN, using firewall... etc.
Now search for 0 ingame (after the message appeared).
Rinse and repeat until you found it.
The one I found long ago was read only, and static.
Good luck.
|
|
|
10/23/2010, 20:08
|
#9
|
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
|
yay found it, now I don't have to check my pw clients as often while will still be notified in case my chars stop doing whatever they're assigned to do
thanks for the info numbah
|
|
|
10/27/2010, 05:49
|
#10
|
elite*gold: 0
Join Date: Aug 2008
Posts: 61
Received Thanks: 31
|
mungkin cara ini juga bisa kk smurf:
pake CE
1. sebelum login scan 0
2. setelah itu login scan > 0
3. logout dari game scan 0
ulangi langkah 2-3, sampai dapat addressnya..
cara ini bisa di buat untuk auto login.
|
|
|
10/27/2010, 07:41
|
#11
|
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
|
iya aku pake cara itu, mungkin alamat memory yg keluar yg 1 kalo login 0 kalo logout, sama aja yg penting bisa deteksi koneksi game client nya bukan koneksi internet global, jadi kalo misalnya server pw yg dc masal alarm nya juga bunyi.
cara autologin gimana ? pake packet atau pake macro mouseclick biar pas ngetik id pass bisa di field pengisiannya ?
|
|
|
 |
Similar Threads
|
How to: Make a server status checker
07/29/2011 - CO2 Guides & Templates - 9 Replies
Okay guide on how to make a server status checker accessed in your browser.
Things you will need:
apache server
php processor
or just AppServ
internet access
Snaity's php.ini
1) Install AppServ
|
classic pickit,shopbot,nip checker und char script für shop und nip checker bot
08/13/2010 - Diablo 2 - 0 Replies
hi leutz ich selber spiele zwar sogut wie kein diablo mehr, aber ich habe mich nochmal ran gesetzt und eine neuere version von meinem pickit erstellt und noch einige andere sachen
enthalten sind in der rar die classic scripts "classic & shopbot"
TLNipChecker bot und shopbot selbst
und zu guter letzt ein voreingestellter charscript für die sorc
OK NUN WOHIN MIT DEM GANZEN ZEUG???
erst eimal entpacken
|
ERROR: Connection failed. Host 'Mcncc.com' is blocked because of many connection erro
04/10/2010 - Metin2 Private Server - 8 Replies
Hab ein Problem mit meinem DynDns Server nach einiger Zeit kommt bei der DB und Regi immer olgendes "ERROR: Connection failed. Host 'Mcncc.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'" kann mir jemand sagen woran das liegt?
|
How to make your internet connection more faster?
12/23/2009 - Soldier Front - 6 Replies
theres so many people having these conflicts: often people have a high Ping
Ex Ping 500
I will help you how to make your internet connection more faster
1.) Do some basic maintenance on your PC. Run Disk Defrag, a scan disk, a virus scan, a malware scan, and clear your recycle bin. An unusually slow Internet connection experience is often the only sign that your computer is infected with viruses or other malware. Delete old files and temporary files. Never allow the free space on your...
|
Make your own server checker(C#)
08/20/2008 - CO2 Guides & Templates - 8 Replies
This is a free source code to make your own server status checker.
The method I use may not be the best, so please no complaining.
1. Add a try catch block
try
{
}
catch
{
}
|
All times are GMT +1. The time now is 20:53.
|
|