Page 1 of 1

Some Question!

Posted: 12 May 2004, 17:11
by Sull
hi =)

1-did yu succeful make and interaction with the ro map server?
2-are yu gonna re-use the same map as iro?because i dont know if yu can put
custom map into an ro server emulator?
3-what emulator are yu using?
4-which IDE are yu using?
5-i still understand the use of an ro server,but why not make an "independant one with a mysql database",with this we can costumise the game like we want?

and about the linux version, i worked on it and cross-compiled
main.cpp
gui_login.cpp
gui_char.cpp

but i still got problem with the socket
i still not understant uword makeword and etc i just buyed a book
"unix socket programming" to understand. If yu could help me to understant makeword,wsa,uword,and all this i will be happy =)

and dont forgot to casting! (gui*.cpp)

with
DIALOG login_dialog[] = {
/* (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) */
{ d_box_proc, 200, 180, 240, 120, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
{ d_text_proc, 210, 190, 100, 10, 0, 0, 0, 0, 0, 0, "User name:", NULL, NULL },
{ d_edit_proc, 320, 190, 100, 10, 0, 0, 0, 0, sizeof(account_name)-1, 0, account_name, NULL, NULL },
{ d_text_proc, 210, 210, 100, 10, 0, 0, 0, 0, 0, 0, "Password:", NULL, NULL },
{ d_edit_proc, 320, 210, 100, 10, 0, 0, 0, 0, sizeof(password)-1, 0, password, NULL, NULL },
{ d_button_proc, 210, 270, 100, 20, 0, 0, 0, D_EXIT, 0, 0, "OK", NULL, NULL },
{ d_button_proc, 320, 270, 100, 20, 0, 0, 0, D_EXIT, 0, 0, "Cancel", NULL, NULL },
{ NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
};
do
DIALOG login_dialog[] = {
/* (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) */
{ d_box_proc, 200, 180, 240, 120, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
{ d_text_proc, 210, 190, 100, 10, 0, 0, 0, 0, 0, 0, (char *)"User name:", NULL, NULL },
{ d_edit_proc, 320, 190, 100, 10, 0, 0, 0, 0, sizeof(account_name)-1, 0, account_name, NULL, NULL },
{ d_text_proc, 210, 210, 100, 10, 0, 0, 0, 0, 0, 0, (char *)"Password:", NULL, NULL },
{ d_edit_proc, 320, 210, 100, 10, 0, 0, 0, 0, sizeof(password)-1, 0, password, NULL, NULL },
{ d_button_proc, 210, 270, 100, 20, 0, 0, 0, D_EXIT, 0, 0, (char *)"OK", NULL, NULL },
{ d_button_proc, 320, 270, 100, 20, 0, 0, 0, D_EXIT, 0, 0, (char *)"Cancel", NULL, NULL },
{ NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
};
thats help me a lot


thx yu =)

*oh and i see thats yu need developer,did yu post some ads on forum ,site?,im sure ppl will be happy to help yu with yur projet!*

Posted: 14 May 2004, 13:04
by ElvenProgrammer
1)im still finishing it,maybe next week it will be completed.
2-3)im using "vidar" as ro server emulator. i talked with "the harbinger" who is the only developer of "vidar" server and he said he will customize the server to fit our purposes. :D
4)im using microsoft visual studio 2003.
5)i think its better to start in this way because its easier and also because im not very experienced in network programming ( i really don't know where to start creating a server);if harbinger help us maybe we can do that in the future, when we need more flexibility. :arrow:

well in windows you have these types of vars:
char (1 byte)
short (2 bytes)
MAKEWORD (a,b) creates a short value passing two chars values
example:
1st byte 01001101 (a)
2nd byte 10110010 (b)
after c = MAKEWORD(a,b) you have
0100110110110010 (c)

with HIWORD, LOWORD you can get from a short value the two chars is composed of.

Sorry for not catsing but my compiler doesn't matter if i don't. I hope to be more careful in the future...
Good work!

.

Posted: 14 May 2004, 14:38
by Sull
thats what i name an nice answer! =)
thx for the tips :!:

and how about posting yur game into forums to get some developer?
i can post it and bring yu some ppl.
i think this game will be truly nice and yu need supporter =)


*i will help yu with the win32 code but im waiting yur first release to see how
allegro work*

*sorry for my bad english*

Posted: 14 May 2004, 15:23
by ElvenProgrammer
I don't know if you agree with me but I'd like to show my project to the public when I have some good work to show :roll: Well maybe I'll think about it a little more...
Thank you anyway for your suggestions and help...

What do you mean for "first release"? I'm still in early developement with the code so you should wait a little more, but check the forum these days because I'll post some new code. :wink:
*sorry for my bad english*
mmmh I don't think my english it's better than your, so don't worry about that

Just a little question: do you think I should not release the code so I can prevent people form cheating or botting in the game?

.

Posted: 14 May 2004, 16:13
by Sull
1-i understand,me too i like to show when my project look perfect. =)
2-hmm by first release i mean,a graphical client and a test server.
Just a little question: do you think I should not release the code so I can prevent people form cheating or botting in the game?
i thinked it,maybe we got 2 choice
1-release the source code but yu should precompile the net code
like net.o map_server.o and give the choise to the user to link it with the
graphical client. i dont know if yu can do it on windows i never compiled on windows =P
2-dont release the source

i played iro for 1 years and botting make me leaving i understand what yu mean we dont want to make the same error as iRO,we should modifie the
server to get it secure

ex 1:
1-when the user when to connect to the server send it a encryped word
2-the client must use the right encryption key to decode the word
3-after the client send the decrypted word
4-if good yu pass
5-if not yu dont pass

change key each release and never release the "encryption key" to the public. with this no one 3rd party app can connect to the server.

maybe thats only an exemple

Posted: 22 May 2004, 21:50
by natsuki
Just a little question: do you think I should not release the code so I can prevent people form cheating or botting in the game?
if you mean code itself,
try making libs and that will be used instead
to get access to code

Posted: 23 May 2004, 08:45
by ElvenProgrammer
Good idea I'll think on that later. :D

Posted: 23 May 2004, 19:35
by natsuki
think i know the MAKEWORD, etc..

somehow dont understand X, Y..
but saw they were packet data of 1st WORD HIWORD and 2bit part of LOWWORD, y too

but now i get it also the ro packets

Posted: 23 May 2004, 20:42
by ElvenProgrammer
Look at one of the version of RO packet list in the download section. There is well explained how does the coordinates are encoded. The if you need hell simply ask.

Posted: 23 May 2004, 21:20
by natsuki
right, it much gives info on most packets
it really nice doc