Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Code Gallery (https://forums.graalonline.com/forums/forumdisplay.php?f=179)
-   -   GUI-Based Tailor (https://forums.graalonline.com/forums/showthread.php?t=73742)

cbk1994 04-29-2007 06:27 PM

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)

Chompy 04-29-2007 06:29 PM

Where's the script? :p

cbk1994 04-29-2007 06:33 PM

Quote:

Originally Posted by Chompy (Post 1304199)
Where's the script? :p

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.

ff7chocoboknight 04-29-2007 06:35 PM

isn't that the one from Vivitron?

cbk1994 04-29-2007 06:38 PM

Quote:

Originally Posted by ff7chocoboknight (Post 1304204)
isn't that the one from Vivitron?

No. I'll go get a screenshot of theirs.

[Edit: Here it is.

http://techxonline.net/temp/other.png
]

Chompy 04-29-2007 06:38 PM

Quote:

Originally Posted by cbkbud (Post 1304203)
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?

Chandler 04-29-2007 06:40 PM

Quote:

Originally Posted by Chompy (Post 1304207)
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.

cbk1994 04-29-2007 06:43 PM

Quote:

Originally Posted by Chandler (Post 1304208)
certain body parts need to be set serverside.

Exactly.

ff7chocoboknight 04-29-2007 06:44 PM

:oo: really? i wish i knew that when i was making my tailor gui

ff7chocoboknight 04-29-2007 06:45 PM

Quote:

Originally Posted by cbkbud (Post 1304206)
No. I'll go get a screenshot of theirs.

[Edit: Here it is.

http://techxonline.net/temp/other.png
]

I thought they had a new one?


Edit: Sorry for double post!

cbk1994 04-29-2007 07:05 PM

Quote:

Originally Posted by ff7chocoboknight (Post 1304211)
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).

ff7chocoboknight 04-29-2007 09:36 PM

Quote:

Originally Posted by cbkbud (Post 1304223)
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

cbk1994 04-15-2009 06:06 AM

1 Attachment(s)
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.

jkldogg 02-27-2010 04:09 AM

All of the links in the first post are dead (for me) can you please forum PM me the script?

WhiteDragon 02-27-2010 04:10 AM

Quote:

Originally Posted by jkldogg (Post 1559238)
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.


All times are GMT +2. The time now is 03:52 PM.

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