[Development] Rice - A Drift City USA Emulator.

Newbie Spellweaver
Joined
Aug 21, 2013
Messages
33
Reaction score
5

nice job dude! keep up the good work
 
Developer
Loyal Member
Joined
Jul 28, 2009
Messages
983
Reaction score
133
So because savetherobots has not much time I'll try to help him with this .

My fork:


Figured the Chat structure out :




Shop structure :


I was looking at your code and a few things came up to me.

- Why are you using 4 if's if you can make it a switch? Would also save you the trouble to lowercase it.
- I'm not sure what channel means, but if possible you could use an enum. Avoid using magic numbers/strings
 

Attachments

You must be registered for see attachments list
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Because it was only a test. Before you can properly code you'll need to get the packet structure. I don't have a packet logger so I need to play around with things.. There is no proper code in the picture because the packet structure / variable types are unknown to me.
 
Banned
Banned
Joined
Jan 21, 2014
Messages
38
Reaction score
1
Re: [Development] Frodo - A Drift City USA Emulator

To bad , this seems dead
 
Newbie Spellweaver
Joined
May 12, 2011
Messages
14
Reaction score
1
Even though it shows that the server is running I can't connect (Login)



Servers stays offline , DB exists > db info correct > etc... any help?
 
Joined
Sep 8, 2011
Messages
822
Reaction score
129
Even though it shows that the server is running I can't connect (Login)



Servers stays offline , DB exists > db info correct > etc... any help?
I'm no expert of DC servers but I do know a few things that might help you out.
If you're trying to login on the same machine you're running the server, try to login with the IP of 127.0.0.1 or localhost.
If you're trying to login from a different machine, use the correct IP and open the right ports (or set it to DMZ host) on the host machine.
If both machines are connected to the same router, try login to the LAN IP of the machine within the network (e.g. 192.xxx.xxx.xxx/10.0.0.xx).
 
Newbie Spellweaver
Joined
May 12, 2011
Messages
14
Reaction score
1


The first thing I did was to connect with the same computer the server is hosted on so I don't make it complicated
And the result is the one I did post about earlier
 
Junior Spellweaver
Joined
Apr 10, 2010
Messages
193
Reaction score
115
As of a week or so ago, RiceEmu on GitHub is only there to provide a base for the RZ community for Drift City emulator development. The open-source version is no longer being actively developed. I will be accepting any (reasonable) pull requests RZ users submit, but you're better off making a fork of the project.
 
Newbie Spellweaver
Joined
Aug 21, 2013
Messages
33
Reaction score
5
EDIT: Made a price table on the shop structure i know its a bunch of ifs and else ifs but its just a test code!


Shop.cs (thx to GigaToni who made the original structure)

and it worked



Added the Inventory Level on database (HancoinInven)

Character.cs (/Game/Character.cs)

and worked pretty well



I'll keep this updated guys

UPDATE: i've not posted new things because i dont know anything about drift city packing method so i cant get the packets structures to keep this development
 
Last edited:
Elite Diviner
Joined
Dec 17, 2014
Messages
485
Reaction score
61
how to connect to run client?
configuration IP how
 
Newbie Spellweaver
Joined
Apr 16, 2005
Messages
41
Reaction score
8


what you use client version ? for join game. i have client 2012 but got problem gameguard, can you help me join game ?



what a problem i use 2012 client.





Delete Character Work

 

Attachments

You must be registered for see attachments list