-
Content Count
261 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Yoh Asakura
-
-
-
Already gave the permission 777 but still the same.
In 'Hostname' => '127.0.0.1', can be 127.0.0.1 or must be localhost? (My FluxCP is in the same VPN as my server)
-
Thank you for the support.
These are my folders. Everything is allright, but I still can't see the sprite of the item.
-
GRF Editor translated the folder 인간족 into Àΰ£Á·
But I still can't see the weapon sprite...
In herc.ws/wiki/Custom_weapons it says:
"Don't forget to give the weapon an icon in /sprite/¾ÆÀÌÅÛ/,"
So GRF Editor translated it wrong?
@edit
These are the folders
-
Hi,
Is it possible to make an item (like a box) that when you use it you have chances to get items. And each item will have a % to get.
e.g: 50% to get yggdrasil item, 10% to get some cards (we can put the cards id here), and 0,1% to get some hats.
Is this possible?
-
I already did one by one, but anyway...I will try what you guys said.
Mallufet way is not so good because I must put all the Items ID and names...I would like something automatic, where I don't need to put ID's or names...
-
Didin't work.
-
-
I can see here that is possible, but could you guys help me? How can I do it?
something like this? then try this...using Chrome press F12 the go to the console...
copy, paste then enter...
function generate(id, iname, aname){ for(i=0; i<id.length; i++){ console.log('[' + id[i] + '] = {'); console.log(' unidentifiedDisplayName = "",'); console.log(' unidentifiedResourceName = "",'); console.log(' unidentifiedDescriptionName = {'); console.log(' },'); console.log(' identifiedDisplayName = "' + iname[i] + '",'); console.log(' identifiedResourceName = "' + aname[i] + '",'); console.log(' identifiedDescriptionName = {'); console.log(' "Description in here",'); console.log(' "description2",'); console.log(' "Jobs : ^777777All^000000",'); console.log(' },'); console.log(' slotCount = 1,'); console.log(' ClassNum = 0'); console.log('},'); }}id = [1234, 12345, 12346];iname = ['item1', 'item2', 'item3'];aname = ['item_1', 'item_2', 'item_3'];generate(id, iname, aname);
then it will output something like this...
[1234] = { unidentifiedDisplayName = "", unidentifiedResourceName = "", unidentifiedDescriptionName = { }, identifiedDisplayName = "item1", identifiedResourceName = "item_1", identifiedDescriptionName = { "Description in here", "description2", "Jobs : ^777777All^000000", }, slotCount = 1, ClassNum = 0},[12345] = { unidentifiedDisplayName = "", unidentifiedResourceName = "", unidentifiedDescriptionName = { }, identifiedDisplayName = "item2", identifiedResourceName = "item_2", identifiedDescriptionName = { "Description in here", "description2", "Jobs : ^777777All^000000", }, slotCount = 1, ClassNum = 0},[12346] = { unidentifiedDisplayName = "", unidentifiedResourceName = "", unidentifiedDescriptionName = { }, identifiedDisplayName = "item3", identifiedResourceName = "item_3", identifiedDescriptionName = { "Description in here", "description2", "Jobs : ^777777All^000000", }, slotCount = 1, ClassNum = 0},
But this way I have to put the AegisName and the Name and the ID's of the items...it would take too long...I need something faster, like the SDE the members above said. But how to use it?
-
you mean same description?
Same description but with the right #AegisName, #Name and #Id would already help a lot.
After I can just find and replace the description.
I could not do it with your program because when we click enter it goes to the other option...
-
How can I translate the korean folders to the "strange names" like...
Strange names:
¾ÆÀÌÅÛ
¾Ç¼¼»ç¸®
À¯ÀúÀÎÅÍÆäÀ̽º
Korean names I want to translate:
sprite/인간족/궁수
sprite/인간족/위저드
sprite/인간족/헌터
These are for the weapon sprite, but with the korean name the server does not recognizes, and the sprite does not appear.
-
Hi,
I wonder if there's a program that can help us to auto-input texts, this way we don't need to edit line by line, 1 by one.
Example, the itemInfo.lua, instead of doing it one by one there must have a program that can auto input the lines. Like if I want to put the ID 19001 until 19080 with the description of iteminfo.lua this program would do it all.
Like this text bellow.
Anyone knows a program that can do it? I'm asking because @@Dastgir has a program that can make the accessoryid and accname.lua automatically.
[8290] = { unidentifiedDisplayName = "", unidentifiedResourceName = "", unidentifiedDescriptionName = { }, identifiedDisplayName = "Helm of Fire", identifiedResourceName = "helm_of_fire", identifiedDescriptionName = { "Description in here", "description2", "Jobs : ^777777All^000000", }, slotCount = 1, ClassNum = 0 },
-
Hi,
I would like to know if there's anyone who could update this script for me. It's a lottery system.
Dastgir helped me with it, he helped me to put the "Total Bets until now".
I already tried this script and it's working fine.
I also translated it, but there are many things in portuguese, so for those who wants to know...
Translation:
bilhete = ticket
recebeu = received
premio = reward
acumulado = accumulated
loteria = lottery
fechado = closed
resultado = result
banco = bank
apostas = bets
numeros = numbers
How it works the script?
The player can bet zeny and he will receive a ticket with random numbers and in the end of the day the winner(s) will be announced by the npc, but can also have no winners.
The player can buy how many tickets he wants I believe...at least he can buy more than 1.
What I would like to add?
An option to bet with cash. But the cash bet MUST HAVE A WINNER. It's like the cash bet system from Invision Power Board forum, it must have a winner. But the winner(s) will only be announced in the end of the month. The npc must show the total bets until now, and the total accumulated. And to be fair with everyone, you can only bet 5 cash and you can bet only 1 time per month.
If anyone has a better idea about this script please post here.
Full Script: http://upaste.me/2228180914afd51c0
Thank you so much.
-
you put the "inventory" spr/act files in the "equipped" folder
@edit
Strange because I always rename the sprite item with the ³²_ and ¿©_. That's why the item was like that. Then after what you've said I picked the sprite item from the folders ³² and ¿© and now it's working.
Anyway, thank you..
-
-
Change Loc: 8192 to Loc: 004 for cloak.
For armor: Loc: 16
For Boots: Loc: 064
For Shield: Loc: 032
For Belts: Loc: 136
And you must check if the names are correct in itemInfo, item_db2, accname, accessoryid, collection and item.
-
-
- script MapAnnounce -1,{OnPCLoadMapEvent: if( strcharinfo(PC_MAP) != "pvp_y_2-2" ) end; set .@countUsers, getmapusers(strcharinfo(PC_MAP)); if( .@countUsers % .rangePLayersAnnounce == 0 ) { announce "There are " + getmapusers(strcharinfo(PC_MAP)) + " players on map " + strcharinfo(PC_MAP) + "."; } else if (.@countUsers == .fullPlayersAnnounce) { announce "The map " + strcharinfo(PC_MAP) + " is full!"; } end;OnInit: set .rangePlayersAnnounce, 3; set .fullPlayersAnnounce, 10; end;}pvp_y_2-2 mapflag loadevent
Should do the job. The '%' doesn't mean it will announce for anything over '3', but for any value which is a multiple of 3.
It's not working.
-
[Warning]: pc_bonus2: unknown type 0 8 1![Warning]: pc_bonus2: unknown type 0 6 1!
Is there anyway we can track the item that causes this one please?
This is from the item_db or item_db2. This warning appears because there is/are item(s) with unknown script effect, which means you must have changed some items effect incorrectly.
-
-
-
Check this: http://herc.ws/board/topic/9089-map-zone-db/
Or instead of mapzone you could just add a script to block the item in a certain map. http://herc.ws/board/topic/9240-check-item/
-
-
PointsPvP:getitem 7420,1;if (playerattached() == killedrid) end;getmapxy(@map$,@x,@y,0);set @CID,getcharid(0);set @points,0;set @name$,"";query_sql "SELECT `pointss_pvp` FROM `rank_pvp` WHERE `char_id`="+@CID+"",@points;query_sql "SELECT `char_name` FROM `rank_pvp` WHERE `char_id`="+@CID+"",@name$;if (@nome$ == ""){query_sql "INSERT INTO `rank_pvp` (`char_id`,`char_name`,`points_pvp`) VALUES ("+@CID+",'"+strcharinfo(0)+"',1)",@esc$;dispbottom "Pontos PvP Master: 1";end;}query_sql "UPDATE `rank_pvp` SET `points_pvp` = `points_pvp` +1 WHERE `char_id`="+@CID+"",@esc$;dispbottom "Total PvP Points: "+(@points+1);setarray .@point_announce, 100, 200, 300, 400; // set point you want to announcefor (.@p = 0; .@p < getarraysize(.@point_announce); .@p++) { if ((@points+1) == .@point_announce[.@p]) { announce strcharinfo(0)+" just made "+.@point_announce[.@p]+" PvP Points!.",bc_all,0x00FF00;}end;}
You just forget to add one more } before "end";
It's working, thank you.
Translate Korean
in Database Support
Posted
Thank you for this.
I've updated the Custom Weapon page because it didin't mentioned this.
http://herc.ws/wiki/Custom_weapons