|
You last visited: Today at 15:50
Advertisement
Window Codes (WindowCommand)
Discussion on Window Codes (WindowCommand) within the CO2 Private Server forum part of the Conquer Online 2 category.
10/30/2011, 14:00
|
#1
|
elite*gold: 0
Join Date: Jun 2006
Posts: 899
Received Thanks: 479
|
Window Codes (WindowCommand)
Simple question really, and probably simple answer, but could someone tell me where I might find the code behind these conquer windows;
Code:
public class WindowCommands
{
public const ushort
Compose = 1,
Craft = 2,
Warehouse = 4,
DetainRedeem = 336,
DetainClaim = 337,
VIPWarehouse = 341,
Breeding = 368,
PurificationWindow = 455,
StabilizationWindow = 459,
TalismanUpgrade = 347,
GemComposing = 422,
OpenSockets = 425,
Blessing = 426,
TortoiseGemComposing = 438,
RefineryStabilization = 448,
HorseRacingStore = 464,
Reincarnation = 485;
}
This is from a 5375 source, I believe maybe impulses, but not done too much digging. I'm just trying to get back into the flow of private servers and am fixing up a bugged source to learn more.
|
|
|
10/30/2011, 19:06
|
#2
|
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
|
Send general data (10010) with the window subtype (126), then set offset 8 in the packet to one of those values. It will show the corresponding window to the user.
|
|
|
10/30/2011, 19:36
|
#3
|
elite*gold: 0
Join Date: Jun 2006
Posts: 899
Received Thanks: 479
|
Quote:
Originally Posted by .Kinshi
Send general data (10010) with the window subtype (126), then set offset 8 in the packet to one of those values. It will show the corresponding window to the user.
|
Thanks for your help, however this is not what I am looking for. I am trying to find the code behind the window, i.e the process for what it does.
Currently I have the OpenSockets window always tells you that it has failed, even with it has been successful.
|
|
|
10/31/2011, 00:36
|
#4
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
|
Quote:
Originally Posted by devilsmum
Thanks for your help, however this is not what I am looking for. I am trying to find the code behind the window, i.e the process for what it does.
Currently I have the OpenSockets window always tells you that it has failed, even with it has been successful.
|
Each system is different but I seem to remember their replies always using the general data packets.
For example... Lets say you send the packet to open the twin city upgrade window (lets say you allow vips to remote upgrades using a command or w/e.). The reply when the client DOES something in that window is handled already in your source code (you just don't notice it because I'm sure someone else already added the code to handle item upgrades in your source).
With the open sockets window there is most likely a value that needs to be put in one of the offsets signaling that the upgrade was a success. I never bothered finding where the value goes either but it makes sense..
If you write nothing to the offset then it has a value of 0. Think of this value in the packet as a success bool. 0 = false 1 = true (or it might be 255. Tq sometimes likes odd values). If you find the offset and write to it then it will display the correct information.
|
|
|
10/31/2011, 12:46
|
#5
|
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
|
Quote:
Originally Posted by devilsmum
Simple question really, and probably simple answer, but could someone tell me where I might find the code behind these conquer windows;
|
You're missing a few, just so you know:
type | desc | 489 | edit character name | 502 | garment shop | 506 | degrade equipment |
My list is a little old, so these may or may not be in 5375..
|
|
|
10/31/2011, 13:43
|
#6
|
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
|
Quote:
Originally Posted by devilsmum
I am trying to find the code behind the window, i.e the process for what it does.
Currently I have the OpenSockets window always tells you that it has failed, even with it has been successful.
|
If you are using 5375 or 5518+ the thing your looking for is located in PacketHandler.
Go to region Itemhandler
you can find many voids like ComposePlus ,PurifyItem,SocketItem and more.
|
|
|
Similar Threads
|
[B] iTunes Codes [S] Nintendo VIP Sterne Codes & Coke Fridge Codes
01/01/2011 - Trading - 5 Replies
Bitte löschen.
|
1Cabal Window 1Maple Window at Same TIME??
05/26/2008 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 0 Replies
let talk about 1 cabal 1 maple at same time...
possible??
how to do tat...??
teach me please :p
|
Rename CO2 window title (any window actually)
05/13/2006 - CO2 Exploits, Hacks & Tools - 4 Replies
I have seen a few posts requesting this. It is a simple autohotkey macro nothing fancy here. You will notice also that the UPX packer detection is not triggered. If you use autohotkey and want to know how to remove the packer PM me it is rather simple. To use this little tool thingie it is very simple:
Execute the code.
Focus your window.
Press Hotkey CTRL+WIN+w
Change the Title.
Apply
|
All times are GMT +2. The time now is 15:50.
|
|