Okay i see there scripting for Events. How do we set them to launch in the game? Please help, and another question is How do you Set the weather?
Please help and thanks.
Okay i see there scripting for Events. How do we set them to launch in the game? Please help, and another question is How do you Set the weather?
Please help and thanks.
Hmm i only know weather those r just GM commands like @night well erh
here's a list with GM commands
1:@storage - Opens storage
40:@itemreset - Remove all your items.
50:@gstorage - Opens guild storage
60:@itemcheck - Check your items with authorised items.
60:@idsearch <part_of_item_name> - Search all items that name have part_of_item_name
60:@refine <equip position> <+/- amount>
60:@produce <equip name or equip ID> <element> <# of very's>
60: Element: 0=None 1=Ice 2=Earth 3=Fire 4=Wind
60: You can add up to 3 Star Crumbs and 1 element
60:@repairall - Repair all items of your inventory
60:/item <item_name> - Gives you 1 of the desired item.
60:@item <item name or ID> <quantity> - Gives you the desired item.
60:@item2 <item name or ID> <quantity> <identified_flag> <refine> <broken_flag> <Card1> <Card2> <Card3> <Card4> - Gives you the desired item.
40:
40:--- PVP CMD ---
40:@pvpon - Turns pvp on on the current map
40:@pvpoff - Turns pvp off on the current map
40:@gvgon/@gpvpon - Turns gvg on on the current map
40:@gvgoff/@gpvpoff - Turns gvg off on the current map
60:@agitstart - Starts War of Emperium
60:@agitend - End War of Emperium
1:
1:--- GROUPS CMD ---
1:@party <party_name> - Create a party.
50:@guild <guild_name> - Create a guild.
60:@guildlvup/@guildlvlup <# of levels> - Raise Guild by desired number of levels
60:@guildrecall <guild_name/id> - Warps all online characters of a guild to you.
60:@partyrecall <party_name/id> - Warps all online characters of a party to you.
1:
1:--- PETS CMD ---
1:@petrename - Re-enable pet rename
10:@pettalk [Message] - Makes your pet say a message.
40:@petfriendly <#> - Set pet friendly amount (0-1000) 1000 = Max
40:@pethungry <#> - Set pet hungry amount (0-100) 100 = Max
60:@hatch - Create a pet from your inventory eggs list.
60:@makeegg <pet_id> - Gives pet egg for monster number in pet DB
20:
20:--- REMOTE CHAR CMD ---
20:@kick <char name> - Kicks specified character off the server
40:@charkillable <char name> - make another character killable
60:@unjail/@discharge <char name> - Discharges specified character/prisoner
60:@kill <char name> - Kills specified character.
60:@chardropall <char name> - throws all a chars possession on the ground
60:@charstoreall <char name> - puts all of anothers charactes possessions in storage
60:/recall/@recall <char name> - Warps target character to you.
60:@revive <char name> - Revives target character.
60:@charblock/@block <char name> - Blocks definitively a account
60:@charunblock/@unblock <char name> - Unblocks a account
60:@charban/@ban/@banish/@charbanish <time> <name> - Ban temporarily a account
60: time usage: adjustement (+/- value) and element (y/a, m, d/j, h, mn, s)
60: Example: @ban +1m-2mn1s-6y testplayer
60:@charunban/@unban/@unbanish/@charunbanish <name> - Unban a account
60:@jail <char name> - Sends specified character in jails
60:@trade <char name> - Open a trade window with a another player
80:@recallall - Warps every character online to you.
80:@doom - Kills all NON GM chars on the server.
80:@doommap - Kills all non GM characters on the map.
80:@raise - Resurrects all characters on the server.
80:@raisemap - Resurrects all characters on the map.
80:
80:--- ENVIRONMENT CMD ---
80:@night - Uses @option 00 16 00 on all characters. All characters are in darkness.
80:@day - Uses @option 00 00 00 on all characters.
80:@skillon - turn skills on for a map
80:@skilloff - turn skills on for a map
99:@rain - Makes all maps to have the rain weather effect.
99:@snow - Makes all maps to have the snow weather effect.
99:@clouds - Makes all maps to have the cloudy weather effect.
99:@clouds2 - Makes all maps to have another cloudy weather effect.
99:@fog - Makes all maps to have the fog weather effect.
99:@fireworks - Makes all maps to have the fireworks weather effect.
99:@sakura - Makes all maps to have the sakura weather effect.
99:@leaves - Makes all maps to have the leaves weather effect.
80:
80:--- ADMIN CMD ---
80:@shownpc <NPC name> - Enable a NPC
80:@hidenpc <NPC name> - Disable a NPC
80:@loadnpc <path to script> - Load script
80:@unloadnpc <NPC name> - Unload script
99:@adjgmlvl <level> <char name> - Do a temporary adjustment of the GM level of a player
99:@adjcmdlvl <level> <command> - Do a temporary adjustment of the GM level of a command
99:@kickall - Kick all characters off the server
99:@mapexit - Kick all players and shut down map-server.
99:@reloaditemdb - Reload item database.
99:@reloadmobdb - Reload monster database.
99:@reloadskilldb - Reload skills definition database.
99:@reloadscript - Reload all scripts.
99:@reloadgmdb - Reload GM levels.
99:
99:@gat - For debugging (you inspect around gat)
99:@packet - For debugging (packet variety)
100:@nuke <char name> -
100:@GM <password> - it becomes GM! (password is set in login_athena.conf)
Shorted for you,
Type those command in game and the map weather will change.80:--- ENVIRONMENT CMD ---
99:@rain - Makes all maps to have the rain weather effect.
99:@snow - Makes all maps to have the snow weather effect.
99:@clouds - Makes all maps to have the cloudy weather effect.
99:@clouds2 - Makes all maps to have another cloudy weather effect.
99:@fog - Makes all maps to have the fog weather effect.
99:@fireworks - Makes all maps to have the fireworks weather effect.
99:@sakura - Makes all maps to have the sakura weather effect.
99:@leaves - Makes all maps to have the leaves weather effect.
-F.O.X
to add a script in game the simplest is npcs.
here are some mini guides by me
Activating A Npc
go to your scripts_custom
see what npcs you want
remove the // from the script direction or whatever you call it.
example if your script is
//npc: npc/npcs/yourscriptname.txt
remove the // so it would be
npc: npc/npcs/yourscriptname.txt
Adding A Custom NPC
go to your npc folder
add a new folder name it npcs or something
and add all your npc scripts there
now go to your scripts_custom
type in the script direction like so
npc: npc/npcs/yourscriptname.txt
then restart your server.
This is all very usefull.
I noticed theres a call npc command in the Gm commands.
Heres the main big question. i have left.
When i give the .exe hexe, Do i havta give the whole data folder to the Other (person) thats gonna play this or just tha login data slientscrip thing we havta use?
and next, if i make my npc? does the other side see it as well? meaning. All the npcs are load threw my server correct?
Okay, I figured how to run the event, Now heres a new issue. I warped myself tow ere that event is in the Xmas_in map, I walk out all script works, But theres one biiiiiig problem. How do you get there, i leave out and follow the way, It leads me to an entrance to a city, Problem is if u exit you cant get back to the xmas place. *how do i make a Warp Npc to that pasific location, or How do you set the maps up to correctly goto.)
Thanks Much guys
Do you have a Warper NPC?
It's an NPC wich warps you for free to several locations for free(Instead of the few cities Kafra let's you warp off)
i might understand wrong but you need an NPC who can teleport someone to that town right?
Yes you got it, If you can, Possibly write the script with a lil detail, I figured alot with the scripting, but like what im trying to figure out, is cordinations, Whats the code for setting up a npc warper, that will be in every town. and i think i get the idea, i got a page saved on the NPC numbers. but i dont get the naming and writings of it yet.
Im really easy to learn, Just trying to learn it once and save the coding. Thanks for your help.
If you're talkin to me there should be a warper NPC located in NPC/Custom/Warper/
oh yes. to your
When i give the .exe hexe, Do i havta give the whole data folder to the Other (person) thats gonna play this or just tha login data slientscrip thing we havta use?
make a grf file.
Okay i spoted the Warper File. Now its empty like i see where u change name and picture of the npc, But i still dont get how to implant them into game, Lil more help.
-let me re-make this-
I figured the whole NPC things (got the warper, That pretty cool, and found banking , really awesome).
Now heres my New question,
When writing a script for you own custom npc. What would be the base coding, Of the start, I see alot like (mapfile) (150.50.1.1) <-- whats that number , name , number. Somthing like that.
My question is that spot right there is that The map were located,number Location?
Last edited by talonstart; 29-11-07 at 06:45 AM.
you mean like "payon.gat,153,43,5" ??
i know the first two digets are the coords of the npc i think the third is wich way hes facing
so just change that to a number from 1 - 9 im almost 80% sure
Okay That is correct, I figured on laying a Npc down, That was a simple issue, Now the whole, trying to set up a warp.. need to figure out the script to make a menu to say yes or no, *yes = warp to xmas* *no to cancel*.
Now if i can figure out that coding, Where in business.
(right now im having server issues, on another person's side), my wife cant connect to me, but i can connect to me just fine on my computer with the server.
-.- -pulls out hair-
i dont recommend you editing/making scripts when you are not experienced in scripting at all. no offense.
no you're right you should have experience when u wanne edit scripts:)
so if you wanne MAKE scripts thats like hard if you just started it will take long while till you understand what you are doing^^