Jump to content

chiba222

Members
  • Content Count

    20
  • Joined

  • Last visited

About chiba222

  • Rank
    Member

Recent Profile Visitors

1271 profile views
  1. I don't think it is related to Windows8.1 I am using r586 with Windows8.1 and works fine. About your dark spots, do you have any photo? If it is big like block, change water level to -20. If it is very small, go Generate -> Smooth Lightmap -> 1-9(choose one you like, I prefer 7), the problem should be fixed.
  2. Open your Browedit, go Generate->Smooth Lightmap-> 1-9 (choose one you like), login and it should be fixed. I prefer light map 7 is the best of outdoor map.
  3. Thank you Kubix! I have changed a little bit to make it works. Full script is here. prt_fild08,176,346,3 script ASDSA 50,{ mes "input new name"; input(.@name$); query_sql("SELECT name FROM `char` WHERE `name` = '" + .@name$ + "'", @newName$); if(@newName$ != ""){ mes "this name is already used"; close; } for(.i = 0; .i < getarraysize(.badSymbol$); .i++){ if(compare(.@name$, .badSymbol$[.i])){ mes "you can't use name with this symbol"; close; } } query_sql("update `char` set `name` = '"+.@name$+"' WHERE `char_id` ="+getcharid(0)); atcommand "@kick "+strcharinfo(0); close; OnInit: setarray .badSymbol$[0], "#", "@"; //add your's end; } After I changed my name, the npc cannot change my name anyone Is keep showing "this name is already used" Solved, if the message is keep showing, just logout a few times and the name can be changed again. But I don't know why.
  4. There is no error in map-server, but the name doesn't change. I have logout and login again and check the SQL server, the name is still the old one.
  5. prt_fild08,176,346,3 script name 50,{ mes "input new name"; input(@name$); query_sql("SELECT name FROM `char` WHERE `name` = " + @name$, @newName$); if(@newName$ != ""){ mes "this name is already used"; close; } for(.i = 0; .i < getarraysize(.badSymbol$); .i++){ if(compare(@name$, .badSymbol$[.i])){ mes "you can't use name with this symbol"; close; } } // changename close; OnInit: setarray .badSymbol$[0], "#", "@"; //add your's end; }
  6. It showed this TEST123 is the new name I input
  7. Thank you Kubix, but the script doesn't work. After I input the name, the map-server showed this
  8. Hi everyone, I am facing a big problem about the Hercules cannot support some Chinese words in player's name. Therefore, I have to make a script for player change their name. How to identify is the player's name used? Thank you
  9. Hi anyone, I have a new script which need to check player level stat, if player level 90, there is a self announce to show them information. But I'm not sure it is possible. Can anyone tell me what is that command or is it possible? Thank you
  10. Case solved! Thank you everyone who supported me in this script! Hi everyone, I have a idea about guild recruit system but it is too hard for me. I don't know how to save and allow player to edit data of recruitment. So I need help in this script. There is the setting of the NPC. Thank you. NPC Main Menu 1. Read Guild Recruitment - show a list of guild name with number which registered. (when player input a number and press next, go to the Information Page of that guild) 1.1 Information Page - show guild master name(show guild master online or offline, auto detect and change name if changed) - show guild base (wrote by guild master) - show the number of guild member(auto update) - show guild introduction (wrote by guild master) (when player press next, go back the page of Read Guild Recruitment, if press "cancel" then close) 2. Register Guild Recruitment - introduction about Guild Recruitment (I can write it by myself) - Zeny require 1,000,000 - Only guild master can use it - Guild have to be higher than Lv3 - First time to register (If player no problem with these, then show the Register Page when they press next) (If player have already registered, go to Edit Page) 2.1 Register Page - input guild base - input guild introduction - input announce contents (if player press next, go to the Preview Page) 2.2 Preview Page - show guild master name - show guild base - show the number of guild member(auto update) - show guild introduction - show announce contents (There will be a selection of Ok and Edit, if player press "OK" then the register is done, if press "Edit" then go back to Register Page) 2.3 Edit Page - show guild master name - show guild base - show the number of guild member(auto update) - show guild introduction - show announce contents (There are list of selection that player can select what they want to edit) 3. GM Control (Only GM can see it) - show a list of guild name with number which registered. (when player input a number and press next, go to the Information Page of that guild) 3.1 Information Page - show guild master name - show guild base (wrote by guild master) - show the number of guild member(auto update) - show guild introduction (wrote by guild master) (There will be a selection of Delete and Cancel, if "Delete" then the selected guild recruitment will be delete, if "Cancel" just go back to GM Control) Other function 1. Each hour announce a guild recruitment randomly in this style, - "guild name" "announce contents", find "guild master name" at "guild base" 2. Every 1st day of a month clear all data of guild recruitment, and announce.
  11. Thank you so much. I just know this command from you. Can you tell me how did you search this script command? I had checked the category of Herc.ws but only few commands there.
  12. Hi everyone, I am working on a script which need to move player by OnTouch command. Each time when player touch the npc, the player will be moved to the same direction. Is anyone know how to make it works like skid trap? Thank you. using command "unitskillusepos" and work fine. unitskillusepos getnpcid(0),115,5,88,13; and the last problem is how to change the player's pointing direction. But I think the result of SC_RUN is much more better than using unitskillusepos Thank you.
  13. Thank you. The "M_point" will be decrease by 1 if player go to the dungeon. I have limited the time as 3. So player only allow to go to the dungeon 3 times a day. After 00:00, the "M_point" recover to 3. The "buyVIP" is limited player to buy VIP service. Each time player buy the VIP service, "buyVIP' will be increase to 1. If "buyVIP" is 1, player cannot buy VIP service anymore. After 00:00, the "buyVIP' decrease to 0. So player allow to buy VIP service again. Here is the whole script, please check. VIPservice
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.