Win32 client

Content and general development discussion, including maps, quests, and server code from the development team.
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 31 May 2004, 07:36

yes is the next point the npcs.
probably the packet about the npc in the current source is not working
if you want to manage npcs I'll leave them to you and move on something else. Use red rects to represent nps
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: 22 May 2004, 21:35
Contact:

Post by natsuki » 31 May 2004, 20:38

found some packets from the japanese one^^

ok i try to represent those npcs
^^いつも笑顔でもっとよろこび。。^^
-- shimokawa natsuki --
User avatar
Genis
Peon
Peon
Posts: 82
Joined: 29 Apr 2004, 20:43
Contact:

Post by Genis » 09 Jun 2004, 04:39

ok, im real sorry, im still kind of out of it. Got my last final on friday, and then nothing, so expect some actual coding from me to get done soon:)
User avatar
Genis
Peon
Peon
Posts: 82
Joined: 29 Apr 2004, 20:43
Contact:

Post by Genis » 10 Jun 2004, 01:56

This is probably already done, seeing as the newest source had it basically working. But in case it wasnt finished, I got character deleting working and uploaded the updated sources to the ftp server. All my changes were documented in the proper format. I am now working on implementing your character creation code with a gui interface. I will keep you posted, and sorry I couldnt get going on this project sooner...gotta hate school:)(Java Final Project)

Well talk to you all later
User avatar
Sull
Novice
Novice
Posts: 163
Joined: 26 Apr 2004, 17:56
Location: Quebec,Montreal

.

Post by Sull » 10 Jun 2004, 03:52

just aplied yur patch to my source,yur delete char work fine but he always delete the wrong char,
never the one selected
User avatar
Genis
Peon
Peon
Posts: 82
Joined: 29 Apr 2004, 20:43
Contact:

Post by Genis » 10 Jun 2004, 03:57

hmm, ill check that out, I didnt seem to have that problem, ill let you know
User avatar
Sull
Novice
Novice
Posts: 163
Joined: 26 Apr 2004, 17:56
Location: Quebec,Montreal

.

Post by Sull » 10 Jun 2004, 05:01

ok thx yu =)
User avatar
Genis
Peon
Peon
Posts: 82
Joined: 29 Apr 2004, 20:43
Contact:

Post by Genis » 10 Jun 2004, 05:27

yea, I found the problem, shouldnt be hard to fix. Its just not sending the right character ID. I will try fixing it tommorow, I tried tonight, but I need to go to bed. Ill post the fix tommorow.
Later

Update
added a message box to display what character it is selecting.

EXAMPLE
char1
char2
char3
If I select char 1-It selects char 3
If I select char 3-It selects char 1
If I select char 2- it selects char 2
I currently cant explain why, but Ill figure it out

Fixed
I fixed the problem, It was an easy fix after I found the pattern that it messed up in(as shown above)
however I am not sure why it is working like it is, so if anyone knows thatd be great. The code on the ftp is now updated, otherwise just use this:

Code: Select all

	// Genis .5a 06-10-04 
					// Gets the email text entered by user, The Selection needs to be subtracted from the total in order to get the proper character ID.
					// If any one knows why, let me know, because I looked through the rest of the code, and Ive never seen anyone have to do this subtraction
					CHAR_DELETE_REQUEST *char_delete_request = create_char_delete_request(char_success->character_info[(char_success->n_characters-1)-lChars.Selection()].character_ID,char_del_dialog->email.get_text());
					char_success->n_characters-=1;//set the # of characters to the proper value, otherwise if the player tries to delete multiple characters at once, the math will be off and it wont work
					//End
Current Project:Character Creation Gui
SquallX7
Peon
Peon
Posts: 9
Joined: 15 Jun 2004, 02:21
Location: Ontario, Canada
Contact:

Post by SquallX7 » 15 Jun 2004, 02:45

Hmmm... I'm good With Sockets... If you want I could code a server in Perl, so it could work on all OS's? or if you want something a bit more strict I played with Sockets for VC++ as well. If you want me to help email me at rbtaylor@kingston.net
RRC
Peon
Peon
Posts: 65
Joined: 23 May 2004, 22:16
Location: Canada
Contact:

Post by RRC » 15 Jun 2004, 04:48

go onto the irc channel, there are details on the webpage, http://themanaworld.sourceforge.net
-=-=- The Mana World Graphics Designer -=-=-
jui-feng
Peon
Peon
Posts: 26
Joined: 09 Jun 2004, 16:37

Post by jui-feng » 15 Jun 2004, 12:00

ah and theres another problem with character-slot-IDs when you select your char, same as char-deletion (by genis :D). If the first slot is unused, it seems like the wrong char-id is sent. (maybe because the index of the selection-list is 0 for the 2nd slot, since there is no first slot entry displayed)

Genis posted a fix in IRC yesterday, i tried it, and now the client doesn't hangup when i select the char and click OK. (edit: it sends a wrong number, too!) (edit: forget this paragraph ;D ) But the only thing i see is green grass. most likely because the client says i'm prontera.gat.. ah, maybe i forgot to change some things back in the code after playing around with it.

and maybe it's eAthena-related.

Only wanted to point at the problem with char-selection. (And eAthena? Or is it because 1st slot unused? ^^)


edit: ah.. i figured it out (hopefully)! :)
it's because the first slot is unused. with the original .0.6a code and all slots up to the chosen char are used, it's no problem. maybe this should be checked, and the number of free slots up to the chosen character-slot should be added to the selection-index, or the slot-number sent by the server should be saved with each char-name.

now i have the prob that the client crashes when executing the line:
clear_bitmap(screen);
in game.cpp - but this is something different. Maybe sull knows more about it.

i don't think this is eAthena related (?), so it could be linux related.
:> poor english i know ^^ hope you understood a half.. <:

________________________
asdf?!
come, lets talk with swords! omfg!
User avatar
Genis
Peon
Peon
Posts: 82
Joined: 29 Apr 2004, 20:43
Contact:

Post by Genis » 15 Jun 2004, 16:44

Me and jui-feng seem to have got it working. Try using this revised fix
http://themanaworld.sourceforge.net/php ... ?p=468#468
Sorry...I only speak English
Post Reply