Openkore.com

OpenKore Forums
It is currently 24 Jun 2018, 13:00

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: Need Help on SendCharDelete | 2.0.5.1 |
PostPosted: 24 Apr 2008, 09:47 
Offline
Noob
Noob

Joined: 05 Apr 2008, 14:43
Posts: 4
I am trying to delete a character and recreate by using char_recreate plugin. See the following relevent code of plugin

Code:
sub delChar {
       my (undef, $args) = @_;
       Plugins::delHooks($hooks);
       $hooks = Plugins::addHooks(['charSelectScreen', \&createChar, undef]);
   # Удаляем чара в 0-ом слоте
      sendCharDelete($net,$chars[0]{ID}, $config{email});
      $timeout{'charlogin'}{'time'} = time;
      $args->{return} = 2;

}


Openkore gives the response that the character is deleted but it is not. The next hook "createChar" says that the character already exists...please see the following sreenshot

Image

I have searched on our old forum and found some openkore user facing the same problem. Regarding this problem Kaliwanagan wrote...

Quote:
It's not a bug. In my case, my recvpackets were wrong (the extractor says the packet id concerned has a length of 3, but Wireshark says otherwise). I just corrected the entry and I can delete characters using that call.

so I searched the concern packet in receive.pm which shows
Code:
   '006F' => ['character_deletion_successful'],
then I looked in recvpackets.txt and it shows
Code:
006F 2
but I am clueless what to do with this....may be I am going totaly wrong direction.

I play inRO official server. In this server 2~3 guys have the working plugin but they dont seem to share. Can anyboday help with this problem?

Any help / suggesstion / hint wil be appriciated.

Thanks in Advance ^_^


Top
 Profile  
 
 Post subject: Re: Need Help on SendCharDelete | 2.0.5.1 |
PostPosted: 24 Apr 2008, 10:47 
Offline
Perl Monk
Perl Monk

Joined: 04 Apr 2008, 17:26
Posts: 811
See where that packet is handled. I may be mistaken, but the character deletion code just might not be updating the internal list of characters and therefore, as far as the bot knows, that character is still there.

_________________
cs : ee : realist


Top
 Profile  
 
 Post subject: Re: Need Help on SendCharDelete | 2.0.5.1 |
PostPosted: 24 Apr 2008, 11:25 
Offline
Noob
Noob

Joined: 05 Apr 2008, 14:43
Posts: 4
I have checked on client, it is still same old character there.


Top
 Profile  
 
 Post subject: Re: Need Help on SendCharDelete | 2.0.5.1 |
PostPosted: 24 Apr 2008, 13:16 
Offline
Perl Monk
Perl Monk

Joined: 04 Apr 2008, 03:08
Posts: 416
if the 006F packet is sent that means your char has been deleted... the 2 bytes in recvpackets.txt is 00 and 6F...

why do you even want to do that? prolly to abuse some event? :P
reason we dont give out plugins like that is cause then everyone and their mom is going to abuse it.
GMs will notice and more bans will occur


Top
 Profile  
 
 Post subject: Re: Need Help on SendCharDelete | 2.0.5.1 |
PostPosted: 24 Apr 2008, 22:31 
Offline
Noob
Noob

Joined: 05 Apr 2008, 14:43
Posts: 4
Yes in inRO server Pet Lover Event going on. This quest can done by once per character and give nice reward with nominal cost. I have made macro which help me to this quest. But once per character cap restrict me to do it repetatively. Now I am currently deleting the 5 character of one id and creating 5 new character on client. and then run on kore....all quest part are taken care of my macro by in 5 loops. Buts its boring to log-in every 15 min on client for deleting and recreating 5 charater.

So I am looking greatly towards this plugin to fix the charater deletion problem. I know one guy from our sever doing this event non-stop by using this plugin. If ever I can manage to fix this problem with the help of our beloved developers, then I can do this event fully automated. In inRO GM are more lenient towords banning, and even if they ban I will lose my novice id with few material. :lol:

Bibian wrote:
reason we dont give out plugins like that is cause then everyone and their mom is going to abuse it.
GMs will notice and more bans will occur


:cry:

I can understand your concern regarding this issue. So I am least expecting some one will give me readymate solution. What I am expecting is atleast you guys give me some hint or give some direction towards fix this issue. But I am afraid...may be I will not catch-up your hint cuase I have serious limition that I don't know a b c of any programming language. :oops:

Bibian wrote:
if the 006F packet is sent that means your char has been deleted... the 2 bytes in recvpackets.txt is 00 and 6F...

:idea: :idea: Is this hint? Ok...I will do some more research and comes with my findings.

P.S. - Till this time I was happy with my openkore basic knowledge and macro skill but now I am hugry to learn all aspects of plugin.


Top
 Profile  
 
 Post subject: Re: Need Help on SendCharDelete | 2.0.5.1 |
PostPosted: 13 May 2008, 12:30 
Offline
Developers
Developers
User avatar

Joined: 04 Apr 2008, 09:50
Posts: 109
i've something similiar to this in macro forum. Just a little adjustment to the sample given will have the same effect as a normal plugin.


Topic: charSelectScreen hook in Automacro

_________________
An Overall Macro Plugins Diffs Proposal


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group