Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-29-2007, 06:27 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
GUI-Based Tailor

This is a tailor script I made (which has a lot of eye candy).

HTML Code:
- Features
--- Saving & Loading Outfits
--- Deletion of outfits
--- Doll (shows what outfit will look like
----- Doll can be clicked (to change the dir)
--- In loading menu, if you select an item the doll shows it
--- Real-time head/body/shield editing (dont have to hit enter)
--- Title changes to Tailor for [SERVERNAME] no matter what the server is
--- Very easy to customize (change gui profiles)
--- Looks very nice
Hopefully people will like this better than my last script (this is my third script in the gallery).

Feel free to use this however you want, modify it, whatever.

I wrote this script from scratch, and it is formatted nicely, and works correctly.

To open the tailor, press T (you could also make it so an onWeaponFired() would open it).

Find the screenshots here: (attachments are busted on my computer).
http://techxonline.net/temp/main1.png
http://techxonline.net/temp/main2.png
http://techxonline.net/temp/main3.png
http://techxonline.net/temp/main4.png
http://techxonline.net/temp/save1.png
http://techxonline.net/temp/load1.png
http://techxonline.net/temp/load2.png

Find the script here:
http://techxonline.net/temp/stuff.txt
(Too long for a post, even by itself, and attachments are broken)
__________________
Reply With Quote
  #2  
Old 04-29-2007, 06:29 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Where's the script?
__________________
Reply With Quote
  #3  
Old 04-29-2007, 06:33 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
Quote:
Originally Posted by Chompy View Post
Where's the script?
I added it to the bottom, sorry it took a second to upload. It's too long to post, and I had to edit my post.
__________________
Reply With Quote
  #4  
Old 04-29-2007, 06:35 PM
ff7chocoboknight ff7chocoboknight is offline
Skyzer Zolderon
ff7chocoboknight's Avatar
Join Date: Dec 2006
Location: New Hampshire, United States
Posts: 725
ff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to all
Send a message via AIM to ff7chocoboknight Send a message via MSN to ff7chocoboknight
isn't that the one from Vivitron?
__________________
Reply With Quote
  #5  
Old 04-29-2007, 06:38 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
Quote:
Originally Posted by ff7chocoboknight View Post
isn't that the one from Vivitron?
No. I'll go get a screenshot of theirs.

[Edit: Here it is.


]
__________________
Reply With Quote
  #6  
Old 04-29-2007, 06:38 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by cbkbud View Post
I added it to the bottom, sorry it took a second to upload. It's too long to post, and I had to edit my post.
Looks nice :O

Only thing I wonder is, why do you set player.bodyimg clientside, while you set headimg and shieldimg serverside? :O

PHP Code:
function Tailor_Accept.onAction()
{
  
player.bodyimg Tailor_Doll.actor.bodyimg;
  
triggerserver"gui"name"setHead"Tailor_Doll.actor.head );
  
triggerserver"gui"name"setShield"Tailor_Doll.actor.shield );
  ...

didn't get it why you get serverside for head and shield :O Any reason?
__________________
Reply With Quote
  #7  
Old 04-29-2007, 06:40 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Quote:
Originally Posted by Chompy View Post
Looks nice :O

Only thing I wonder is, why do you set player.bodyimg clientside, while you set headimg and shieldimg serverside? :O

PHP Code:
function Tailor_Accept.onAction()
{
  
player.bodyimg Tailor_Doll.actor.bodyimg;
  
triggerserver"gui"name"setHead"Tailor_Doll.actor.head );
  
triggerserver"gui"name"setShield"Tailor_Doll.actor.shield );
  ...

didn't get it why you get serverside for head and shield :O Any reason?
lol, because he can!
I can't remember which, but certain body parts need to be set serverside.
Reply With Quote
  #8  
Old 04-29-2007, 06:43 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
Quote:
Originally Posted by Chandler View Post
certain body parts need to be set serverside.
Exactly.
__________________
Reply With Quote
  #9  
Old 04-29-2007, 06:44 PM
ff7chocoboknight ff7chocoboknight is offline
Skyzer Zolderon
ff7chocoboknight's Avatar
Join Date: Dec 2006
Location: New Hampshire, United States
Posts: 725
ff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to all
Send a message via AIM to ff7chocoboknight Send a message via MSN to ff7chocoboknight
really? i wish i knew that when i was making my tailor gui
__________________
Reply With Quote
  #10  
Old 04-29-2007, 06:45 PM
ff7chocoboknight ff7chocoboknight is offline
Skyzer Zolderon
ff7chocoboknight's Avatar
Join Date: Dec 2006
Location: New Hampshire, United States
Posts: 725
ff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to all
Send a message via AIM to ff7chocoboknight Send a message via MSN to ff7chocoboknight
Quote:
Originally Posted by cbkbud View Post
No. I'll go get a screenshot of theirs.

[Edit: Here it is.


]
I thought they had a new one?


Edit: Sorry for double post!
__________________

Last edited by ff7chocoboknight; 04-29-2007 at 06:46 PM.. Reason: sorry for double post
Reply With Quote
  #11  
Old 04-29-2007, 07:05 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
Quote:
Originally Posted by ff7chocoboknight View Post
I thought they had a new one?


Edit: Sorry for double post!
You're thinking of Darkmoon I believe (or maybe Playerworld5). They use this script aswell (I told them they could use it and gave them the script).
__________________
Reply With Quote
  #12  
Old 04-29-2007, 09:36 PM
ff7chocoboknight ff7chocoboknight is offline
Skyzer Zolderon
ff7chocoboknight's Avatar
Join Date: Dec 2006
Location: New Hampshire, United States
Posts: 725
ff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to allff7chocoboknight is a name known to all
Send a message via AIM to ff7chocoboknight Send a message via MSN to ff7chocoboknight
Quote:
Originally Posted by cbkbud View Post
You're thinking of Darkmoon I believe (or maybe Playerworld5). They use this script aswell (I told them they could use it and gave them the script).
maybe i've visited most of the servers
__________________
Reply With Quote
  #13  
Old 04-15-2009, 06:06 AM
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
Sorry for the huge bump, someone asked me to post the script, so here it is (it was removed from my web servers). Also, I pulled this out of a backup of a server, so let me know if you see any server-specific stuff.
Attached Files
File Type: txt tailor.txt (11.3 KB, 398 views)
__________________
Reply With Quote
  #14  
Old 02-27-2010, 04:09 AM
jkldogg jkldogg is offline
J.Rollin (killaz)
jkldogg's Avatar
Join Date: Feb 2010
Location: USA
Posts: 675
jkldogg can only hope to improve
Send a message via AIM to jkldogg Send a message via MSN to jkldogg
All of the links in the first post are dead (for me) can you please forum PM me the script?
__________________

PSN: jkldogg



The best post ever made on the graal forums.
After playing Graal Online for many years, JKL decides to make a forum account. Isn't life funny?
Reply With Quote
  #15  
Old 02-27-2010, 04:10 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by jkldogg View Post
All of the links in the first post are dead (for me) can you please forum PM me the script?
Look at the post before yours.
Reply With Quote
Reply


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 08:47 PM.


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