Register for your free account! | Forgot your password?

You last visited: Today at 19:44

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

Advertisement



lottery?

Discussion on lottery? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
lottery?

what the hell that had happend to 1314 i compare the old packet and the newest one and notice that no thing changed
|xabi| is offline  
Old 03/21/2013, 01:17   #2
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
you are wrong dude .. Its Length Had Changed instead of 24 it became 20 and ItemID offset had changed too
shadowman123 is offline  
Thanks
1 User
Old 03/21/2013, 01:56   #3
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
Quote:
Originally Posted by shadowman123 View Post
you are wrong dude .. Its Length Had Changed instead of 24 it became 20 and ItemID offset had changed too
ohh i notice Length but i didn't notice itemid
i think the ItemID offest is 12 and still not working.
|xabi| is offline  
Old 03/21/2013, 05:06   #4
 
elite*gold: 0
Join Date: Feb 2013
Posts: 51
Received Thanks: 22
still works very fine with me here is my structure
byte(type,4)
byte(Gem1,7)
byte(Gem2,8)
byte(plus,9)
byte(color,10)
byte(Jades,11)
uint(ItemId,12)
EgyptianMano is offline  
Thanks
1 User
Old 03/21/2013, 10:59   #5
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
sure it will work fine cuz u have updated it
shadowman123 is offline  
Old 03/21/2013, 13:29   #6
 
elite*gold: 0
Join Date: Feb 2013
Posts: 51
Received Thanks: 22
Quote:
Originally Posted by shadowman123 View Post
sure it will work fine cuz u have updated it
i ddnt , this is my 5660 structure or so, can't really remember
EgyptianMano is offline  
Old 03/21/2013, 14:04   #7
 
Haary*Potter's Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 29
Received Thanks: 1
Quote:
Originally Posted by EgyptianMano View Post
still works very fine with me here is my structure
byte(type,4)
byte(Gem1,7)
byte(Gem2,8)
byte(plus,9)
byte(color,10)
byte(Jades,11)
uint(ItemId,12)

when i use this structure client disconnect

its wrong
Haary*Potter is offline  
Old 03/21/2013, 14:30   #8
 
elite*gold: 0
Join Date: Feb 2013
Posts: 51
Received Thanks: 22
i don't think so, notice that i just put the info he needs ,u still need to put the packet length and type at the top of the packet and then seal it with TQServer

the packet length is 20 and the type is 1314
EgyptianMano is offline  
Old 03/21/2013, 23:52   #9
 
MrCaSpR's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 87
Received Thanks: 6
Quote:
Originally Posted by EgyptianMano View Post
still works very fine with me here is my structure
byte(type,4)
byte(Gem1,7)
byte(Gem2,8)
byte(plus,9)
byte(color,10)
byte(Jades,11)
uint(ItemId,12)
nice EgyptianMano but when i use it nothing changed lottery screen is not appear
MrCaSpR is offline  
Old 03/22/2013, 00:05   #10
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by EgyptianMano View Post
i don't think so, notice that i just put the info he needs ,u still need to put the packet length and type at the top of the packet and then seal it with TQServer

the packet length is 20 and the type is 1314
dude u r Wrong .. b4 patch 5700 the the length was 24 after 5700 its 20 u know what will happen when u send wrong packet length to client ? guess what .. Yea the client disconnect and at offset 16 there were the ItemId of won item after 5700 it had changed to 12 so ?

Quote:
Originally Posted by MrCaSpR View Post
nice EgyptianMano but when i use it nothing changed lottery screen is not appear
sure nothing will appear cuz u havent sent the Packet type and length
shadowman123 is offline  
Old 03/22/2013, 00:12   #11
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
Quote:
Originally Posted by shadowman123 View Post
sure nothing will appear cuz u havent sent the Packet type and length
Packet Type 1314.
Length 20.
updated and still nothing appears
|xabi| is offline  
Old 03/22/2013, 00:15   #12
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by shadowman123 View Post
dude u r Wrong .. b4 patch 5700 the the length was 24 after 5700 its 20 u know what will happen when u send wrong packet length to client ? guess what .. Yea the client disconnect and at offset 16 there were the ItemId of won item after 5700 it had changed to 12 so ?



sure nothing will appear cuz u havent sent the Packet type and length
already done and same issue

abdoumatrix is offline  
Old 03/22/2013, 00:23   #13
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
Quote:
Originally Posted by abdoumatrix View Post
already done and same issure

PHP Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace 
Conquer_Online_Server.Network.GamePackets
{
    class 
LotterySystem WriterInterfaces.IPacket
    
{
        public const 
ushort Accept 0AddJade 1, Continue = 2;

        
byte[] Buffer;       
        public 
LotterySystem(bool Create)
        {
            if (
Create)
            {
                
Buffer = new byte[32];
                
WriteUInt16(200Buffer);
                
WriteUInt16(13142Buffer);
                
WriteByte(34Buffer);
                
WriteByte(310Buffer);
                
WriteByte(25Buffer);
                
WriteByte(26Buffer);
             
            }
        }

        public 
byte Type
        
{
            
get { return Buffer[4]; }
            
set Buffer[4] = value; }
        }
        public 
byte SocketGem1
        
{
            
get { return Buffer[7]; }
            
set Buffer[7] = value; }
        }
        public 
byte SocketGem2
        
{
            
get { return Buffer[8]; }
            
set Buffer[8] = value; }
        }
        public 
byte Plus
        
{
            
get { return Buffer[9]; }
            
set Buffer[9] = value; }
        }
        public 
byte ItemColor
        
{
            
get { return Buffer[10]; }
            
set Buffer[10] = value; }
        }
        public 
byte JadesAdded
        
{
            
get { return Buffer[11]; }
            
set Buffer[11] = value; }
        }
        public 
ushort LottoTimes
        
{
            
get { return BitConverter.ToUInt16(Buffer12); }
            
set WriteUInt16(value12Buffer); }
        }
        public 
ushort LottoTimes1
        
{
            
get { return BitConverter.ToUInt16(Buffer13); }
            
set WriteUInt16(value13Buffer); }
        }
        public 
uint ItemID
        
{            
            
get { return BitConverter.ToUInt32(Buffer16); }
            
set WriteUInt32(value16Buffer); }
        }
        public 
void Deserialize(byte[] buffer)
        {
            
Buffer buffer;
        }
        public 
byte[] ToArray()
        {
            return 
Buffer;
        }
        public 
void Send(Client.GameState client)
        {
            
client.Send(Buffer);
        }
    }
    

u just did Length
|xabi| is offline  
Old 03/22/2013, 00:26   #14
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by |xabi| View Post
u just did Length
copy mistake but i do it right
ty anyway
abdoumatrix is offline  
Old 03/22/2013, 00:28   #15
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
Quote:
Originally Posted by abdoumatrix View Post
copy mistake but i do it right
ty anyway
what copy mistake mean??
remove lottotimes and change itemid from 16 to 12
|xabi| is offline  
Reply


Similar Threads Similar Threads
Lottery GUI
03/27/2012 - CO2 Private Server - 3 Replies
Hey Guys i need to know the Packet, length and GUI Id of Lottery Like This PIC http://img829.imageshack.us/img829/9220/66140037. jpg
[HELP]Get more lottery!
03/19/2010 - Zero - 0 Replies
I need more than 10 times lottery? somebody can help!! I use on my private server :D
Best lottery
12/11/2007 - Conquer Online 2 - 2 Replies
Any can share there great experience in lottery, can any help me to show the the the box in lottery that gives best stuff... send me ur screen shoot please...i need ur help so i can choice the boz if i will enter lottery... a1 blaster help and my bro also here.....ty alllll
The Lottery
09/04/2007 - Conquer Online 2 - 8 Replies
Hiya Guys never made many contributions to the site and although this one might sound like another poor effort of a post it genuinly worked for me. I found a DB recently and decided that the only real way for me to get rich was to gamble it, stupid i know but i discovered something very quickly, First things first. 1) Always pick the same box Now in my process i started randoming boxes and havent ever gotten anything decent but once i started selecting only one box the cycle started ...



All times are GMT +1. The time now is 19:47.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.