Clueless

06/12/2009 14:38 Vortex.#1
I'm absolutely clueless. So I made a suggestion ncp. But when you type a suggestion. He only saves some >.<

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
06/12/2009 14:44 _Emme_#2
And heres another thing you copied from KinshiCO source. Anyways, upload the code maybe?..
06/12/2009 14:48 danielachraf#3
Quote:
Originally Posted by EmmeTheCoder View Post
And heres another thing you copied from KinshiCO source. Anyways, upload the code maybe?..
Hmm.. it has released on epvpers without face ..
06/12/2009 14:57 Vortex.#4
WTF. I didn't copy anything >.<

I based this off of Emmes Code
06/12/2009 15:00 _Emme_#5
Upload the code so I can view it over and maybe fix this bug for ya.
06/12/2009 15:05 Vortex.#6
This source was giving to me, my friend said he recoded it. But here

Code:
if (CurrentNPC == 199)
                            {
                                SendPacket(General.MyPackets.NPCSay("Got a suggestion, or lost an item due to a bug?"));
                                SendPacket(General.MyPackets.NPCLink("Yes, I got a Suggestion", 34));
                                SendPacket(General.MyPackets.NPCLink("I lost an item due to a bug", 60));
                                SendPacket(General.MyPackets.NPCLink("Just passing by.", 255));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
Code:
if (CurrentNPC == 199)
                            {
                                if (Control == 34)
                                {
                                    itemtosee = "";
                                    SendPacket(General.MyPackets.NPCSay("What is your Suggestion"));
                                    SendPacket(General.MyPackets.NPCLink2("Here is my Suggestion:", 35));
                                    SendPacket(General.MyPackets.NPCSetFace(0));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 35)
                                {

                                    for (int i = 14; i < 14 + Data[13]; i++)
                                    {
                                        itemtosee += Convert.ToChar(Data[i]);
                                    }

                                    SendPacket(General.MyPackets.NPCSay("Are you sure this is '" + itemtosee + "' Your suggestion we track your Ip.."));
                                    SendPacket(General.MyPackets.NPCLink("Yes.", 36));
                                    SendPacket(General.MyPackets.NPCLink("No.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(0));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 36)
                                {
                                    System.IO.StreamWriter ts = new System.IO.StreamWriter("./ItemReq/Suggestion.txt", true);
                                    ts.WriteLine(itemtosee + " - Submitted by: " + MyChar.Name + IPE + " at: " + DateTime.Now);
                                    ts.Flush();

                                    SendPacket(General.MyPackets.NPCSay("Submission of ''" + itemtosee + "'' Your Suggestion Has Been Sent.!"));
                                    SendPacket(General.MyPackets.NPCLink("Cool.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(0));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 60)
                                {
                                    itemtosee = "";
                                    SendPacket(General.MyPackets.NPCSay("What item did you loose? Please give us the right information and we'll check it."));
                                    SendPacket(General.MyPackets.NPCLink2("Item:", 61));
                                    SendPacket(General.MyPackets.NPCSetFace(0));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 61)
                                {

                                    for (int i = 14; i < 14 + Data[13]; i++)
                                    {
                                        itemtosee += Convert.ToChar(Data[i]);
                                    }

                                    SendPacket(General.MyPackets.NPCSay("You have loost '" + itemtosee + "' due to a bug right?"));
                                    SendPacket(General.MyPackets.NPCLink("Yes.", 62));
                                    SendPacket(General.MyPackets.NPCLink("No.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(0));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 62)
                                {
                                    System.IO.StreamWriter ts = new System.IO.StreamWriter("./ItemReq/Requests.txt", true);
                                    ts.WriteLine(itemtosee + " - Submitted by: " + MyChar.Name + IPE + " at: " + DateTime.Now);
                                    ts.Flush();

                                    SendPacket(General.MyPackets.NPCSay("Submission of ''" + itemtosee + "'' please wait 24hours for us to look into the matter.!"));
                                    SendPacket(General.MyPackets.NPCLink("Cool.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(0));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
06/12/2009 15:40 Tarouka#7
I checked the code and it was fine.

Perhaps the input has a max length (notice that both suggestions ends up being cut to 31 chars). If so, there would be no realistic way to bypass it.
06/12/2009 16:48 _Emme_#8
Quote:
for (int i = 14; i < 14 + Data[13]; i++)
Edit that line, obviously Data[13] is 17, so 14+17 = 31, 'itemtosee' will stop adding stuff when i reached 14 + Data[13] (31).

Btw, this is a total copy of KinshiCO source, he even used the variable itemtosee. Lame is all I can say, lame.
06/12/2009 17:08 WHITELIONX#9
I see a time and date on that screen o.0?
06/12/2009 17:43 Vortex.#10
LOL. So I know what this means. Pete that bastard
06/12/2009 19:16 Zeroxelli#11
Quote:
Originally Posted by Vortex. View Post
I'm absolutely clueless. So I made a suggestion ncp. But when you type a suggestion. He only saves some >.<
Quote:
Originally Posted by Vortex. View Post
WTF. I didn't copy anything >.<

I based this off of Emmes Code
Quote:
Originally Posted by Vortex. View Post
This source was giving to me, my friend said he recoded it.
Lol, you contradicted yourself so much here.

You didn't post the source in the first, or even second posts. So, that insists that you in fact knew the source was taken, and were just too hesitant to post something someone would obviously notice right off the bat. Could of just been honest, and said you ported it from his code, or even asked him..
06/12/2009 20:59 Vortex.#12
Dude. I was typing alot of crap. I noticed that my self. I got nothing to hide whats the point of editing them.

When Pete left he gave me his source

Second he said:
Quote:
Upload the code so I can view it over and maybe fix this bug for ya.
Third please learn to read =)
06/12/2009 22:05 Zeroxelli#13
Quote:
Originally Posted by Vortex. View Post
Dude. I was typing alot of crap. I noticed that my self. I got nothing to hide whats the point of editing them.

When Pete left he gave me his source

Second he said:


Third please learn to read =)
Seems it's not his source either, that being my point. So this was a void reply, you just wasted your 'typing'.

I know how to read, that was a crappy come back for someone annoyed/pissed off because they got pointed at.

EDIT: Also, next time you should link to a post of something he said that helps your position in something. Because if your position in something is bad to start with, people won't believe you when you don't place proof of claims.
06/12/2009 22:25 kinshi88#14
Lawl