Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-21-2011, 04:57 PM
mrnothersan mrnothersan is offline
Owner of MrNothersan
Join Date: Mar 2011
Location: On the Computer
Posts: 97
mrnothersan is an unknown quantity at this point
Send a message via AIM to mrnothersan Send a message via MSN to mrnothersan
Ticketing System Help

Hello,

I have been looking at this ticket system tutorial:
http://forums.graalonline.com/forums...ad.php?t=74011

I am unsure on how to add it to my playerworld though

Please advise me on how to add this

Regards
__________________

Regards
MrNothersan - Playerworld owner


Staff Hirings Thread for MrNothersan: http://forums.graalonline.com/forums....php?p=1639180

Reply With Quote
  #2  
Old 05-21-2011, 05:17 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
At first glance you should avoid that script anyway, it's using clientside rights without verifying on serverside...
__________________
Reply With Quote
  #3  
Old 05-21-2011, 05:30 PM
skillmaster19 skillmaster19 is offline
Registered User
Join Date: Oct 2010
Posts: 392
skillmaster19 will become famous soon enough
cbk is right but if you really want to use this script despite the security risk this is what you would do:

add the text file he provided as a weapon to your server, and add the weapon to everyone who you want to have it.

this.rights.xXziroXx = { "Close", "FAQ", "Ticket" };

change xXziroXx to your account.(Graal# if you have one, not community name)

this.rights.xXziroXx = { "Close", "FAQ", "Ticket" };

then make the rights for each player based on what you want them to have. The rights are in an array, so you can remove and add some with commas, and don't forget the ""s as they are critical.

If you have a staff tag system, you can give rights by staff guild. for example:
makevar("this.guildrights.Player Relations") = { "Close", "FAQ", "Ticket" };
you can change the "this.guildrights.Player Relations" to "this.guildrights.Graal Police" or whatever your staff guild is. then change the array after the = sign and add or remove rights he provided.


now for tab rights. the // means it is a comment and not part of the system.
PHP Code:
//#CLIENTSIDE
function onCreated()
{
  
this.rights = new TStaticVar(); // don't touch
  
this.guildrights = new TStaticVar(); //din't touch
  
this.rights.xXziroXx = { //change xXziroXx to your account.
    
"tab:Admin",  // Tabs
    
"Edit""Close""FAQ""Ticket",  // Actions
    
"dep:All" // Departments
  
};
  
makevar("this.guildrights.Public Relations") = {
 
//change the line above to your staffguild
    
"tab:Admin",  // Tabs
    
"Edit""Close""FAQ""Ticket",  //guild Actions
    
"dep:Accounts""dep:Jail" // guild Departments
  
};

Reply With Quote
  #4  
Old 05-21-2011, 05:40 PM
mrnothersan mrnothersan is offline
Owner of MrNothersan
Join Date: Mar 2011
Location: On the Computer
Posts: 97
mrnothersan is an unknown quantity at this point
Send a message via AIM to mrnothersan Send a message via MSN to mrnothersan
Quote:
Originally Posted by cbk1994 View Post
At first glance you should avoid that script anyway, it's using clientside rights without verifying on serverside...
What should i use?
__________________

Regards
MrNothersan - Playerworld owner


Staff Hirings Thread for MrNothersan: http://forums.graalonline.com/forums....php?p=1639180

Reply With Quote
  #5  
Old 05-21-2011, 06:01 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by mrnothersan View Post
What should i use?
Nothing, you're developing on a UC server right now. You should be more worried about gameplay elements than PR elements designed for classic servers.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.