Ideas & Suggestions

The latest version of the UOAI library and all directly related information can be found in this forum.

Re: Ideas & Suggestions

Postby Artaxerxes on Tue Feb 03, 2009 5:27 pm

megamandos wrote:You should add an event when the client sends the 0x01 packet for logging out.


I'm currently adding a .onDisconnect event, a .onLogout event could be nice too indeed.
Artaxerxes
Site Admin
 
Posts: 530
Joined: Tue Nov 18, 2008 9:51 pm

Re: Ideas & Suggestions

Postby megamandos on Fri Feb 06, 2009 5:46 pm

You should add a feature to see what address the client is sending its packets. Or simply what address its connected to.
"Those who sacrifice liberty for security, deserve neither." Benjamin Franklin
User avatar
megamandos
Guru
 
Posts: 312
Joined: Thu Jan 29, 2009 5:01 am

Re: Ideas & Suggestions

Postby Artaxerxes on Fri Feb 06, 2009 8:36 pm

megamandos wrote:You should add a feature to see what address the client is sending its packets. Or simply what address its connected to.


I've added a .ServerIP and .ServerPort for the login-server, when i was adding .login function to the client object in my dev version (not tested yet though). I didn't think about adding the same info for the game-server yet, but it would be usefull indeed!
Artaxerxes
Site Admin
 
Posts: 530
Joined: Tue Nov 18, 2008 9:51 pm

Re: Ideas & Suggestions

Postby xenoglyph on Sat Feb 21, 2009 7:15 am

Artaxerxes wrote:
megamandos wrote:You should add an event when the client sends the 0x01 packet for logging out.


I'm currently adding a .onDisconnect event, a .onLogout event could be nice too indeed.


according to my testing of a newish client (6.0.1.10) the client never sent 0xD1 or 0x01 packet on logout. It was for this reason I had to implement a closesocket() hook.
xenoglyph -- UO Machine Developer
xenoglyph
Coder
 
Posts: 44
Joined: Wed Nov 19, 2008 8:30 pm

Re: Ideas & Suggestions

Postby Artaxerxes on Sat Feb 21, 2009 2:46 pm

xenoglyph wrote:according to my testing of a newish client (6.0.1.10) the client never sent 0xD1 or 0x01 packet on logout. It was for this reason I had to implement a closesocket() hook.


My current dev version uses packet 0x1 for an onLogout event. Works fine with client 6.0.12.3. I also have an onConnectionLoss event, that uses a hook of the function that is used to display the "connection lost"-gump. I will release this version of UOAI this weekend (wrapper will not be updated yet though...), and if the onLogout function turns out not to work for multiple clients, I will change it to a hook of the destructor of the socket-object used by the client, which is the function calling closesocket.

Greetz,
Artaxerxes
Artaxerxes
Site Admin
 
Posts: 530
Joined: Tue Nov 18, 2008 9:51 pm

Re: Ideas & Suggestions

Postby xenoglyph on Sat Feb 21, 2009 6:49 pm

hmm, I just assumed that packet was no longer used or something. I wonder if Razor is eating my packet. I'll have to look into it a bit.
xenoglyph -- UO Machine Developer
xenoglyph
Coder
 
Posts: 44
Joined: Wed Nov 19, 2008 8:30 pm

Re: Ideas & Suggestions

Postby zeehc on Thu Apr 23, 2009 12:13 pm

is it possible to drag something to a specific x, y in a container?
zeehc
Coder
 
Posts: 18
Joined: Sat Mar 14, 2009 1:24 pm

Re: Ideas & Suggestions

Postby Artaxerxes on Thu Apr 23, 2009 1:07 pm

zeehc wrote:is it possible to drag something to a specific x, y in a container?


Currently not, but it requires only little change, so i'll add this to the todo-list.
Artaxerxes
Site Admin
 
Posts: 530
Joined: Tue Nov 18, 2008 9:51 pm

Re: Ideas & Suggestions

Postby zeehc on Thu Apr 23, 2009 9:32 pm

anyway i could hack it up myself somehow? if so, could you give me a little push in the right direction? thanks
zeehc
Coder
 
Posts: 18
Joined: Sat Mar 14, 2009 1:24 pm

Re: Ideas & Suggestions

Postby Artaxerxes on Sun Apr 26, 2009 3:49 pm

I added this to my todo-list, next update of UOAI will contain such a feature.
Artaxerxes
Site Admin
 
Posts: 530
Joined: Tue Nov 18, 2008 9:51 pm

PreviousNext

Return to UOAI Developers Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron