Page 1 of 2

Win32 client

Posted: 28 May 2004, 16:42
by ElvenProgrammer
As you said I think that me, natsuki and Genis are able to program for windows systems.
Now we should plan what we're going to do. There are many things:
- Coding new actions (attack, speak with npcs, and so on)
- Coding the graphic engine
- Maybe a own made gui system?
- Coding new packets
- ...

If someone has a little practice with winsock or sockets in general and with threads, he can be the responsable of the netwrok code because what i've written til now it's not very good I think (it's the first time i use sockets and threads :arrow:

Tell me what you think and we'll plan a working development team :D

Posted: 28 May 2004, 20:56
by natsuki
maybe the bases/low level be made first
-like char/npcs/actions, data etc

-also the networking (basic RO protocol) for server connection

-then character/graphics

-gui

-custom

but it dont mean only focus on one,
it just that it somehow necessary to make basic before some else^^

Posted: 28 May 2004, 21:29
by Genis
yea, i think we should focus mainly on char actions first, and network code of course. Ive also not done a ton of network code before, but I could definately help out in that department too.

Posted: 29 May 2004, 08:41
by ElvenProgrammer
For the current state of development I'll still continue using "secret of mana" graphic. So let's get into the code.

What I'm working on is:
-replacing login allegro interface with masking
-adding commands to create and delete characters
-creating a structure to keep track of monsters, npcs, other players in visible/skill range
-adding some graphic to player and other reatures

If someone of you wants to help or delvelop alone one of this parts please post here.

Posted: 29 May 2004, 20:46
by natsuki
masking is a nice ui, also it uses alfont which is
another good point

what i'm doing is:
-the ro protocol
-some base level programming too
-npc

Posted: 29 May 2004, 22:03
by Genis
ill work on create and delete

Posted: 30 May 2004, 11:12
by ElvenProgrammer
Hey Nat can you better explain what are doing? I am very interested if you are developing npc support alone. Tell me something more I'm curious. :D

Posted: 30 May 2004, 11:29
by ElvenProgrammer
Dear Genis I hope you have some practice with C++ because as you probably read I replaced the Allegro GUI with MASkinG wich is object oriented hard-coded. I placed the "new" and "del" buttons in the interface and I was working on deleting chars but I discovered that MASkinG doesn't support the '@' char wich is needed to provide e-mail to delete a character. I'm investigating on that and I hope to modify the library enough to get this working, probably I'll post something here.

Refer to *_dialog.cpp, main.cpp code to have an idea of how the new interface works. (I removed the old gui_*.cpp source code).

When you finished with that it'll be useful to add a panel to show selected player skills, stats, picture, ecc...

Posted: 30 May 2004, 11:38
by Ultramichy
Elven Programmer wrote:Hey Nat can you better explain what are doing? I am very interested if you are developing npc support alone. Tell me something more I'm curious. :D
Yeah an please hold me on the line.
Maybe i will write a NPC-Script Prog to make easy new NPC'S.

Just need to get my old c++ Memorys back.

(too bad that the Yare projekt ist dead. they allready creating ther own client und map editor)

Posted: 30 May 2004, 15:13
by ElvenProgrammer
To Genis:

I managed somewhat to use the '@' char by modifying the masking lib.
Here is my version

Modified version of MASkinG

Replace the code before compiling MASkinG lib or use the precompiled version (compiled with VC++ 7.0)

To Ultramichy

Mmmh Nat was referred to natsuki but your contribute is also welcome 8)

.

Posted: 30 May 2004, 15:46
by Sull
can yu send me the file thats yu modified i have to compile it on linux thx yu =)

Posted: 30 May 2004, 16:24
by ElvenProgrammer
Follow the above link and download the zip file

Posted: 30 May 2004, 17:38
by Sull
oh sorry lol

Posted: 30 May 2004, 18:16
by Ultramichy
Elven Programmer wrote: To Ultramichy

Mmmh Nat was referred to natsuki but your contribute is also welcome 8)
My was also Referred to natsuki i only can write a tool to make Scripts when i know the Syntax of how the Scripts work :-D.

Posted: 30 May 2004, 22:44
by natsuki
didn't find any packets relating to npcs yet
only the NPC visible

but if i find the others i'll try to get the data^^
of course there still be no graphics^^