Simple Helpdesk NPC (12Tails)

06/11/2011 19:29 rockymiperro#1
Hello, today am going to realese a Simple Account Management.
all you have to do is edit the links to your desire and add the npc into the database

PHP Code:
#region Helpdesk 
                
case 10060
                    { 
                        switch (
npcRequest.OptionID
                        { 
                            case 
0
                                { 
                                    
dialog.Text("Welcome to the Helpdesk NPC, I 
am here to help you manage your account and help you connect to our customer service"
); 
                                    
dialog.Link("Customer Service"1); 
                                    
dialog.Link("Account Managment"2); 
                                    
dialog.Link("Vote)"3); 
                                    
dialog.Link("Register"4); 
                                    
dialog.Link("Forum"5); 
                                    
dialog.Link("Nah am good, Thanks"255); 
                                    
dialog.Avatar(95); 
                                    
dialog.Send(); 
                                    break; 
                                } 
                            case 
1
                                { 
                                    
System.Diagnostics.Process.Start("http://link.com"); 
                                    break; 
                                } 
                            case 
2
                                { 
                                    
System.Diagnostics.Process.Start("http://link.com"); 
                                    break; 
                                } 
                            case 
3
                                { 
                                    
System.Diagnostics.Process.Start("http://link.com"); 
                                    break; 
                                } 
                            case 
4
                                { 
                                    
System.Diagnostics.Process.Start("http://link.com"); 
                                    break; 
                                } 
                            case 
5
                                { 
                                    
System.Diagnostics.Process.Start("http://link.com"); 
                                    break; 
                                } 
                        } 
                        break; 
                    } 
#endregion 
Npc Code
PHP Code:
REPLACE INTO `cq_npcVALUES (100600'Helpdesk'0002562010020400040000); 
credits to jave for make this npc and my for put it here ;D
06/11/2011 20:10 gorby12345#2
#Leeched!!! because i made this i am "Java" so fucking noob learn to code its so simple to make somthing like that, see proves you cant even code simples things, and you didnt even give credits
06/11/2011 20:26 rockymiperro#3
ops i forget the credits jejej
06/11/2011 20:27 rockymiperro#4
Quote:
Originally Posted by gorby12345 View Post
#Leeched!!! because i made this i am "Java" so fucking noob learn to code its so simple to make somthing like that, see proves you cant even code simples things, and you didnt even give credits
shut up i forgot the credits cya dont brother me
06/11/2011 20:30 nTL3fTy#5
This won't work how you think it will. Basically, every time a client uses the Npc, it starts the browser on the server computer. To make this work properly, use the ChatType associated with opening URLs on the client's computer.
06/12/2011 02:35 -Shunsui-#6
Funny how their fighting over credits wen this is seriuosly trash -_-
06/12/2011 02:46 Froz3n:)#7
Quote:
Originally Posted by -Shunsui- View Post
Funny how their fighting over credits wen this is seriuosly trash -_-
lool good post xD ^

btw i think its useless because if somebody have your client than he must have downloaded it from your site (he have the link) LOL so he can just go there no need of new npc in game... :S

and thanks just for your time spent writting xD
06/12/2011 12:42 D3nGeR#8
Quote:
Originally Posted by -Shunsui- View Post
Funny how their fighting over credits wen this is seriuosly trash -_-
^
grow up kids and stop releasing shitty useless NPCs.
06/13/2011 00:17 pro4never#9
Quote:
Originally Posted by Froz3n:) View Post
lool good post xD ^

btw i think its useless because if somebody have your client than he must have downloaded it from your site (he have the link) LOL so he can just go there no need of new npc in game... :S

and thanks just for your time spent writting xD
It's actually useless because Process.Start runs the website on the SERVER, not the client.

You need to send a website chat packet to the client to make it popup on their client.


Dunno why I was thinking it would be more advanced...

Now I kinda wanna do an actual helpdesk npc.. Have it use an input box to search existing help files for information to return to the client or allow them to use a box to send a ticket request to any online gms.
06/13/2011 04:06 Crazy_XX#10
Good Job Thanks