Jump to content

Sharpienero

Members
  • Posts

    386
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Sharpienero

  1. Yeah, but what would the issue be? I haven't touched them at all.
  2. All of the colours are the same when using the stylist. This is my script. // +-------------------------------------------+ // | Advanced Stylist | // +-------------------------------------------+ // | By: Hudelf | // +-------------------------------------------+ // | Current Version: 2.1 | // +-------------------------------------------+ // | Description: | // | This is the traditional stylist with | // | several new features. You can now scroll| // | backwards or forwards, and save up to | // | three palettes while logged in | // +-------------------------------------------+ // | Changelog: | // | 02/08/07 - 1.0 - Script finished | // | 06/04/07 - 2.0 - Rewrote entire script | // | Added new features | // | 11/07/07 - 2.1 - Changed var types | // | Fixed minor text issues | // +-------------------------------------------+ xmas,142,118,6 script Stylist 914,{ set .@name$,"[^FF8000Stylist^000000]"; setarray .@max[1],300,251,24; // Number of cloths, haircolors, hairstyles in client setarray .@blacklist[0],188,143,261; // NPC will skip any cloth colors in this array. // Use for palettes that cause errors or just plain look bad. // Leave first value at 0 to disable. setarray .@type[1],7,6,1; // DO NOT EDIT set .@style,0; mes .@name$; mes "I can change your appearance for you if you'd like."; mes " "; mes "Just choose what you'd like to change:"; next; set .@s,select("Clothes color", "Hair color", "Hair style"); mes .@name$; mes "Alright, how would you like to search?"; next; menu "Start at the beginning",L_start, "Choose where to start",-; // CHOOSE WHERE TO START ===================================================== mes .@name$; mes "Alright, choose a style between ^0000FF0 and " +.@max[.@s]+ "^000000."; next; input .@style; if (.@style < 0 || .@style > .@max[.@s]) { mes .@name$; mes "Style chosen is out of range."; close; } L_start: setarray @revert[1],getlook(.@type[.@s]),0,0; mes .@name$; mes "Alright here we go, starting at style ^007700" +.@style+ "^000000."; next; // BEGINNING OF STYLE MENU LOOP ================================================ L_menuloop: if (.@blacklist[0]) { for (set .@f,0; .@f < getarraysize(.@blacklist); set .@f,.@f+1) { if (.@style == .@blacklist[.@f] && .@previous == 1 && .@s == 1) { message strcharinfo(0),"GM Message - Cloth " +.@style+ " was removed."; set .@style, .@style - 1; goto L_menuloop; } else if (.@style == .@blacklist[.@f] && .@s == 1) { message strcharinfo(0),"GM Message - Cloth " +.@style+ " was removed."; set .@style, .@style +1; goto L_menuloop; } } } setlook .@type[.@s],.@style; mes "This is style number ^007700" +.@style+ "^000000."; set .@next, .@style + 1; set .@prev, .@style - 1; // MAXIMUM MENU if (.@style == .@max[.@s]) { set .@next,0; message strcharinfo(0),"Limit Reached"; } // MINIMUM MENU ============================================================== if (.@style == 0) { set .@prev,.@max[.@s]; message strcharinfo(0),"Beginning Reached"; } // PREVIOUS MENU ============================================================= if (.@previous) { menu "^FF0000Previous - " +.@prev+ "^000000",L_prev, "^0000FFNext - " +.@next+ "^000000",L_next, "Jump to",L_jump, "Save",L_save, "Load",L_load; } // DEFAULT MENU ============================================================== menu "^0000FFNext - " +.@next+ "^000000",L_next, "^FF0000Previous - " +.@prev+ "^000000",L_prev, "Jump to",L_jump, "Save",L_save, "Load",L_load; L_next: set .@previous,0; set .@style, .@next; goto L_menuloop; L_prev: set .@previous,1; set .@style, .@prev; goto L_menuloop; L_jump: next; mes .@name$; mes "Choose which style you'd like to jump to:"; next; input .@style; if (.@style < 0 || .@style > .@max[.@s]) { mes .@name$; mes "Style chosen is out of range."; close; } goto L_menuloop; L_save: next; mes .@name$; mes "Choose which slot you'd like to save to:"; set .@x, select("Slot 1 - [" +@revert[1]+ "]", "Slot 2 - [" +@revert[2]+ "]", "Slot 3 - [" +@revert[3]+ "]"); setarray @revert[.@x], .@style; goto L_menuloop; L_load: next; mes .@name$; mes "Choose which slot you'd like to load from:"; set .@x, select("Slot 1 - [" +@revert[1]+ "]", "Slot 2 - [" +@revert[2]+ "]", "Slot 3 - [" +@revert[3]+ "]"); set .@style, @revert[.@x]; goto L_menuloop; }
  3. Someone helped me understand, but mostly I taught myself.
  4. town,x,y,direction script Gold Room Manager 965,{ mes "[ Gold Room Manager ]"; //mes "Hello, "; //mes "How may i serve for you ?"; mes "I can warp you to the gold room."; //mes "Would you like to go there try to get some gold ?"; //mes "You could be get rich if you lucky enough."; next; switch(select("Okay.:Not now.")) { Case 1: mes "[Gold Room Manager]"; //mes "So you have decide to go there."; //mes "A wise decision."; mes "You'll be there quickly. c;"; next; mes "[ Gold Room Manager ]"; mes "Enjoy."; close2; warp "guild_vs2",50,50; //OnInit: //waitingroom "Gold Room Warper",0; //end; Case 2: mes "[Gold Room Manager]"; //mes "Owh...."; //mes "Okay ;D"; //mes "It is all up to you."; mes "Come back to me if you've changed your mind."; close; } } //-------- Spawn Monster --------// guild_vs2,0,0,0,0 monster Golden Dokebi 1110,1000,0,0,0 This is my servers gold room warper, that's why it has a lot of //'s.
  5. Ah, if I get time I'll do this for you. (Busy atm.) :L Why not implant the instant for now?
  6. Ah, I see - but isn't the database different? (items, etc.?)
  7. I updated my eathena to rathena, and I want to switch mysql over to rathena. How do I do this without losing any information?
  8. I don't understand. o_o; What file am I supposed to put this into?
  9. Title says it, because I seem to be missing a lot of items (equips.) Is there a way to upgrade mySQL so that I can add those missing items?
  10. Thanks but I solved this a while ago. Close please.
  11. Thank you both, I feel like an idiot now.
  12. I can't find the NPC "Chef Assistant" in the files. Any help would be greatly appreciated.
  13. I hate SOPA, and PIPA. I've been fighting it since it was known as Protect-IP. They've lost a lot of supporters because of all the "black-outs" today - which is awesome!
  14. Can someone please just put the instructions below? I can't figure it out after days of trying. This includes how to make the grf, data files, etc. Seriously pissed at myself for continually having to ask you all for help, I know it's annoying. Any help is seriously appreciated, and I truly mean it.
  15. I need a tutor.. Is anyone willing to help?

  16. Uhm I used the Txt and it worked fine..
  17. Oh, I didn't set a password.. Could that be the error?
  18. Alright, I did that. I set all of my DB IP's to 127.0.0.1. Still having issues. This is my inter-conf. // Global SQL settings // overriden by local settings when the hostname is defined there // (currently only the login-server reads/obeys these settings) sql.db_hostname: 127.0.0.1 sql.db_port: 3306 sql.db_username: root sql.db_password: sql.db_database: ragnarok sql.codepage: // MySQL Character SQL server char_server_ip: 127.0.0.1 char_server_port: 3306 char_server_id: root char_server_pw: char_server_db: ragnarok // MySQL Map SQL Server map_server_ip: 127.0.0.1 map_server_port: 3306 map_server_id: root map_server_pw: map_server_db: ragnarok // MySQL Log SQL Database log_db_ip: 127.0.0.1 log_db_port: 3306 log_db_id: root log_db_pw: log_db_db: ragnarok log_codepage: Anyone? :c
  19. Please help. Log server = Map Server = Char Server =
  20. Thank you, that works for the .txt server, but I decided not to use that. I guess they merged my topics. Anyway, using SQL the errors are below.
  21. I need guidance, I don't understand why it's denying the permissions. (root@localhost) - I'm also not using a password so I don't know why it's saying (USING PASSWORD: YES)
  22. If everyone has an ID card, that's not really original, but if you can make them in photoshop, then it's original.. I don't want this to be made.
  23. Funny, her daughter copies EVERYTHING I DO... she's currently only 2.5 so she's not where she comprehends anything... but damn is it funny, if I need to work or want to script, I just pop another keyboard next to me, and away she goes It's very fun Lmao, that's hysterical and cute.
  24. Yeah, Txt will be removed.. I got that..
×
×
  • Create New...