Akselj Posted May 6, 2009 Author Share Posted May 6, 2009 Hiya,I thought I'd make a version of Eclipse 2.7 with all fixes for broken stuff. Here's a list:Note that this version is still buggy and 2.7 should be used until this is fixed more.Red: Not startedYellow: Working on itGreen: DoneFixed Auto-LoginTutorial: http://www.touchofdeathforums.com/smf/index.php?topic=38880.0Fixed Shop Value displayingTutorial: http://www.touchofdeathforums.com/smf/index.php?topic=44082.0Fixed SpellsTutorial: http://www.touchofdeathforums.com/smf/index.php?topic=43236.0Fixed bankTutorial: http://www.touchofdeathforums.com/smf/index.php?topic=44128.0Fixed tradeTutorial: http://www.touchofdeathforums.com/smf/index.php?topic=44128.0Fixed Custom MenusTutorial: http://www.touchofdeathforums.com/smf/index.php?topic=43151.0Fixed Help-tabMap freezing fixTutorial: http://www.touchofdeathforums.com/smf/index.php/topic,45645.0.htmlAllowing trading of stackables and currenciesTutorial: http://www.touchofdeathforums.com/smf/index.php/topic,44889.0.htmlFixed housesTutorial: http://www.touchofdeathforums.com/smf/index.php/topic,46265.0.htmlDamage fixes & multiple damage blitsTutorial: http://www.touchofdeathforums.com/smf/index.php/topic,46540.0.html and http://www.touchofdeathforums.com/smf/index.php/topic,46462.0.htmlChest attribute enabled and workingTutorial: http://www.touchofdeathforums.com/smf/index.php/topic,45686.0.html+ many more, I can't seem to remember all :PCompiled:.RAR: http://freemmorpgmaker.com/Eclipse-Evolution-2.8.rar.ZIP: http://freemmorpgmaker.com/Eclipse-Evolution-2.8.zipSource:.RAR: http://freemmorpgmaker.com/Eclipse-Evolution-2.8-Source.rar.ZIP: http://freemmorpgmaker.com/Eclipse-Evolution-2.8-Source.zipNote: In the Data.ini there have been added some more options:```SellCommand=0OneHouseOnly=0PresetHousing=0```SellCommand: Set to 1 to enable the /sell command for selling your house.OneHouseOnly: Set to 1 to allow players to have maximum 1 house.PresetHousing: Set to 1 to not allow people to edit their house.–AkselJ Link to comment Share on other sites More sharing options...
Harris6310 Posted May 6, 2009 Share Posted May 6, 2009 Awsome, I have always wanted to use the Auto-Login feature.Woot, first one to post. Link to comment Share on other sites More sharing options...
Akselj Posted May 6, 2009 Author Share Posted May 6, 2009 I will release tutorials on how to, source and compiled source. I have already made the auto-login, it is in Tutorials/Snippets in Source section, go check it out :) Link to comment Share on other sites More sharing options...
Harris6310 Posted May 6, 2009 Share Posted May 6, 2009 Kwl, You should add the tutorials on the 4th tab of the sever to help noobs. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 6, 2009 Share Posted May 6, 2009 Make sure ya fix custom menus ;)@Harris:> Kwl, You should add the tutorials on the 4th tab of the sever to help noobs.Aksel, PM me to remind me, but I have the tutorials that used to go in that "Help" tab on my computer (with an older version of Eclipse). I'll send it to ya when I get home. Link to comment Share on other sites More sharing options...
unnown Posted May 7, 2009 Share Posted May 7, 2009 what's wrong with the trade? Link to comment Share on other sites More sharing options...
Akselj Posted May 7, 2009 Author Share Posted May 7, 2009 The button that says "TRADE?" is not working. Oh, and can you tell me how to fix Custom Mneus for this? Link to comment Share on other sites More sharing options...
unnown Posted May 7, 2009 Share Posted May 7, 2009 yeah but there is already a tut for that i believe on the forum Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 7, 2009 Share Posted May 7, 2009 @unnown:> yeah but there is already a tut for that i believe on the forumYea, it's stickied**EDIT:**Okay, here's the documentation for the "Help" tab.Okay, this came directly from Eclipse 4.5 (some things will need to be edited, or I edited, of course)Under **Starting Up:**(this needs to be changed, because you don't set the access via inis anymore)> If you dont know the basics please continue reading this guide.> > Where to begin?> You want to start by loading your server. The first thing you should do is play around with the program for a bit before doing anything major. Ok, so you play around with Eclipse a bit, now you want to login and start making your server. First off you need to create a character on your server. What you need to do is go into the client folder. Open up Eclipse.exe. In the bottom right hand corner you will see Configure IP, click on it. Your IP Address should be indicated on the server program under the tab Control Panel, same goes for the Port. Fill in the fields accordingly. Click confirm, good now you can create your first account on your server. Click New, and type in the information accordingly. Click Create New Account, good now your ready to login and make a character. When you are logged in you will see a screen with 3 character slots, select the first one and click New Character. Fill in the fields accordingly and click Create New Character. When you create you character you need to logout. So click Back To Login Screen. Now go into your server folder and open the folder named Accounts. Find the file named: YourAccountName.ini, open it. In the section [CHAR1] find Access= 0 and change that to Access = 4\. Exit and save the file. Go back to the client program and login using your character. When you do that you will see a blank screen. Thats good, consult the next guide on how to actually start edititing!Under **Editing Your Server:**(something could be said about "F1" in this part)> Mapping:> Mapping in Eclipse is fairly simple. Once your character has level 4 access to the server, login to the game and in the chatbox, type /mapeditor. Doing this will open the map editor in a new window, this contains many things. Most important are all of them is the long box that contains the tiles. Click on one of these, will allow you to place it on the map. O> > Creating Items, NPCS, Spells, shops and emoticons> > Commands:> /editshops> /editnpcs> /edititems> /editspells> /editemoticonUnder **Player Access:**(Player acess "5" should be edited)> The access is the most important piece to your server. You only set regular players to higher access if you trust them not to screw up your server.> > 0 - This is the regular player access. You get this access when you first create your character!> 1 - The moniter is a person that will moderate the game. Like kick people, etc.> 2 - Mapper, they are the people that will map in the game.> 3 - Developpers are the people that create the items, spells, npcs, etc.> 4 - The god! Can do anything they want! Basically the owner of the game!Under **Running A Server:**> If you want your server to be popular continue reading this.> > The first thing you need to make sure of is the server availability! You need a good server host that is dedicated to keeping it up as long as possible, 24/7 if possible! If you lack hosting then you wont make it very far with your game.> > Another thing to ensure is the server IP. If you have a host in which there IP Address changes every so often that is not good at all. Try to get a host with an IP that doesnt change! Unless you have an Auto Updater to update the IP to the clients everytime it changes!> > Something to consider is making sure people can connect to the server. If your host is using a router ensure that the necessary ports are open for people to connect.> > A Good game name. From what I hear, stay away from using 'Online' in your game name. Try choosing something original and out there. By out there I mean like a name that people will want to keep coming back for more!Under **Player Controls:**("End" I think is now "Home", but I'm not sure; may still be "End")> The controls of the game are as follows:> > Arrow Keys - Depending on which one you hit is the way your character moves.> Enter - Used to pick up items on the map or to chat.> Shift - Holding down shift and using the arrow keys makes you run.> Ctrl - Using this key will let you attack.> Insert - When you double click on a spell it will memorize it, you use Insert to cast it when you select an enemy!> F1 - Brings up the Admin Panel with many commands on it.> F4 - This will open the Guild Create form.> F5 - Brings up the Guild Panel, this is where you can add players to you guild.> F11 - This will take a screenshot of the game client.> F12 - This will take a screenshot of the game screen only!> End - This will turn your character in place! (clockwise)Under **Player Commands**(I'm giving you the updated version)```These are all for in-game play and not for the use of the server!/info playername (stats about a player)/who (sees whos online)/where (map + x + y coord)/fps (Shows current FPS)/inv (open's invetuary)/stats (shows your stats)/refresh (refresh's player on screen)/chat (accepts chat invitation)/chatdecline (declines chat invitation)/trade playername (trade with other players)/accept (accepts a trade)/decline (declines a trade)/party playername (sends a group (party) invitation)/join (accepts a group invite.)/leave (declines a group (party) invite, or leaves)/kick playername (kick player)/houseeditor (opens the map editor if you own the housing lot)/weather X (0 is none, 1 is rain, 2 is snow, 3 is lightning)/clearowner (removes player ownership of a map)/loc (current location as a map x y)/mapeditor (edit map)/mapreport (shows a list of ALL maps by name and number, can doubleclick a choice to warp there)/setsprite x (sets your sprite to the number x)/setplayersprite playername x (sets a players sprite)/respawn (respawns the current map you are standing on)/motd msghere (changes the message of the day for client logins)/banlist (displays the banlist)/reboot (restarts the server remotely)/ban playername (bans Player)/edititem (edit items)/daynight (toggles day and night)/editemoticon (edit emoticons)/editelement (edit elements)/editarrow (edit arrows)/editnpc (edit npcs)/editshop (edit shops)/editspell (edit spells)/setaccess playername x (lvl 5 or greater can set access to other players)/reload (remotely reloads a servers scripts)/destroybanlist (clears all bans)/warpto x (warps to map x)/warpmeto playername (warp you to the player's exact location)/warptome playername (warp the player to your exact location)```Under **Chatting**:(all of these seem up-to-date)> The chatting channels and how to use them!> > Map Chat - Simply type into the textbox and hit enter!> Broadcast - Type ' before your text.> Emote - Type - before your text.> Private Message - Type ! and the players name before your text. Example: !Coke Hello!> Global - Type " before your text. Note: This is only for players with access above 0.> Admin - Type = before your text. Note: This is only for players with access above 0.Under **Bugs/Errors**:Here, all the known errors would be listed; but you're working on a "Fixed" client, you may just want to add something like, "If you have an error, check the following:1) Make sure you've installed all the library files2) *link to Vista Fix goes here, and tells the user how to download it*3) *link to runtime error fixes here*"Under **Map Converter**:Um yea… We don't need this one?Under **Map Editing**:> Basics Of Map Editing> > First off make sure you have a character with access of 2 or higher. Login with that character. In the chat type /mapeditor and hit enter. A new form should appear.> > Starting off you will want to play around with the many features the map editor includes. Try laying some tiles down by selecting the tile and clicking on the blank map. You will notice the frame called Layers. Depending on which one you click changes how the tile is placed on the map. Im not convering this topic though, you just need to play with it.> > When you click the Attributes radio button you will notice the frame called Attributes. Depending on the attribute you choose they do a variety of things:> > Blocked - This will block anyone from walking on that tile.> Warp - Warps player to selected spot.> Item - Adds an item to the ground.> NPC Avoid - NPCs cant walk on that tile, only players can.> Those are just the main ones. There are many more to choose from.> > Now click the properties button. There are two tabs, General and NPCs. The General tab is pretty straight forward, nothing too special there. Click the NPCs tab. This is where you can choose which NPCs will spawn on the map. The copy buttons will copy the NPC's field above them.Under **Scripting Commands**(I've updated these)```Function GetVar(File, Header, Var) getvar("file.ini", "header", "variable") pretty much the same as putvar file.ini = location header = header variable = variable this command gets a variable that was saved by the putvar commandCall PutVar(File, Header, Var, Value) Call Putvar("file.ini", "header", "variable", 4) file.ini = file variable goes into header = header variable is under Example of header = [header] variable = 4 variable = the variable that it is set in 4 = the vaule set in variable this command saves a variableCall GlobalMsg(msg, color) call globalmsg("this is what it says", 5) 5 = color (colors are said at top of main.txt) this command calls a message to everyone on your gameCall AdminMsg(msg, color) Call AdminMsg("this is what it says", 5) 5 = color(said at top of main.txt) this command calls a message to all admin on gameCall PlayerMsg( Index, msg, color) call playermsg(index, "this is what it says", 5) index = who its going to (index means self) 5 = color this command calls a message only one player can seeCall MapMsg( MapNum, msg, color) call mapmsg(5, "this is what it says", 6) 5 = map the message is desplayed on 6 = color this command calls a message to everyone on a certain mapCall AlertMsg(index, msg) call alertmsg(index, "this is what it says) index = you know... this command calls a message that pops up to the player warning him/herFunction GetPlayerLogin(Index) getplayerlogin(index) gets player login name (name they type in on the login and password screen)Function GetPlayerName( Index) getplayername(index) this command gets the players nameFunction GetPlayerGuild( Index)Quote getplayerguild(index) gets the guild the player is inFunction GetPlayerGuildAccess( Index)Quote getplayerguildaccess(index) gets the access level of the player in the guild he is inCall SetPlayerGuildAccess( Index, Guildaccess) call setplayerguildaccess(index, 5) 5 = this is the level of access it is set to this command sets the guild access of a player in his guildCall setplayerguildname( Index, guildname) call setplayerguildname(index, "guildname") guildname = name of the guild set to this command sets the a players guild to whatever you put as guildnameFunction GetPlayerClass( Index) getplayerclass(index) this command gets the players class by number not name (1, 2, 3)Call SetPlayerClass( Index, ClassNum) call setplayerclass(index, 2) 2 = what class it is set to this sets the players classFunction GetPlayerClassName( Index) getplayerclassname(index) this command gets the players class by name not numberFunction GetPlayerSprite( Index) getplayersprite(index) this command gets the sprite number that the player currently hasCall SetPlayerSprite( Index, Sprite) call setplayersprite(index, 5) 5 = sprite number player is set to this command sets the players spriteFunction GetPlayerLevel( Index) getplayerlevel(index) this command gets the players current levelCall SetPlayerLevel( Index, Level) call setplayerlevel(index, 5) 5 = what level the player is set to this command sets the players level to level toldFunction GetPlayerNextLevel( Index) getplayernextlevel(index) this command gets the players exp max needed till the next levelFunction GetPlayerExp( Index) getplayerexp(index) this command gets the amoun of exp the player hasCall SetPlayerExp( Index, Exp) call setplayerexp(index, 3000) 3000 = the amount of exp the players exp is set to this command sets the players exp that he or she hasFunction GetPlayerAccess( Index) getplayeraccess(index) this command gets the players admin access 0 = none 1 = moderator 2 = mapper 3 = developer 4+ = main developerCall SetPlayerAccess( Index, Access) call setplayeraccess(index, 5) 5 = access set to this command sets the players admin accessFunction GetPlayerPK( Index) getplayerpk(index) this command gets the amount of players the player has pked(player killed)Call SetPlayerPK( Index, Pk) call setplayerpk(index, 5) 5 = number of pks set to this sets the number of pks the player hasFunction GetPlayerHP( Index) getplayerhp(index) this command gets the players current hp (not max)Call SetPlayerHP( Index, Hp) call setplayerhp(index, 200) 200 = amount of hp set to this command sets the players hp (not max)Function GetPlayerMP( Index) getplayermp(index) this command gets players current mp (not max)Call SetPlayerMP( Index, Mp) call setplayermp(index, 5) 5 = set amount of mp this command sets the current mp of the player (not max)Function GetPlayerSP( Index) getplayersp(index) gets players current sp (not max)Call SetPlayerSP( Index, Sp) call setplayersp(index, 5) 5 = amount of sp set sets players current sp (not max)Function GetPlayerMaxHP( Index) getplayermaxhp(index) this will give you the max hp of the playerFunction GetPlayerMaxMP( Index) getplayermaxmp(index) this will give you the max mp of the playerFunction GetPlayerMaxSP( Index) getplayermaxsp(index) this will give you the max sp of the playerFunction GetClassMaxHP( ClassNum) getclassmaxhp(1) 1 = class # gives you the max hp of a sertain classFunction GetClassMaxMP( ClassNum) getclassmaxmp(1) 1 = class # gives you the max mp of a sertain classFunction GetClassMaxSP( ClassNum) getclassmaxsp(1) 1 = class # gives you the max sp of a sertain classFunction GetClassSTR( ClassNum) getclassstr(1) 1 = class # gets the str of a classFunction GetClassDEF( ClassNum) getclassdef(1) 1 = class # gets the def of a classFunction GetClassSPEED( ClassNum) getclassspeed(1) 1 = class # gets the speed of a classFunction GetClassMAGI( ClassNum) getclassMAGI(1) 1 = class # gets the magi of a classFunction GetPlayerSTR( Index) getplayerstr(index) gets players current str statCall SetPlayerSTR( Index, STR) call setplayerstr(index, 4) 4 = strength set to sets players strength to stertain amountFunction GetPlayerDEF( Index) getplayerdef(index) gets players current def statCall SetPlayerDEF( Index, DEF) call setplayerdef(index, 4) 4 = Defence set to sets players Defence to stertain amountFunction GetPlayerSPEED( Index) getplayerspeed(indeX) gets the current speed stat of playerCall setplayerspeed( Index, Speed) call setplayerspeed(index, 5) 5 = speed set to sets player speed to sertain amountFunction GetPlayerMAGI( Index) getplayermagi(index) gets player current magi statCall SetPlayerMAGI( Index, Magi) call setplayermagi(index, 1) 1 = magi set to sets players magi stat to a sertain numberFunction GetPlayerPOINTS( Index) getplayerpoints(index) gets players current unused stat pointsCall SetPlayerPOINTS( Index, Points) call setplayerpoints(index, 400) 400 = amount of points set to sets the players amount of unused pointsFunction GetPlayerMap( Index) getplayermap(index) gets the current map of the playerCall SetPlayerMap( Index, MapNum) call setplayermap(index, 4) 4 = map set to sets the players mapFunction GetPlayerX( Index) getplayerx(index) gets the current x postion of the playerCall SetPlayerX( Index, x) call setplayerx(index, 5) 5 = x set to sets the current x postion of playerFunction GetPlayerY( Index) getplayery(index) gets players current y positionCall SetPlayerY( Index, y) call setplayery(index, 3) 3 = y set to sets players current y positionFunction GetPlayerDir( Index) getplayerdir(index) gives the players direction by number (numbers listed at top of main.txt)Call SetPlayerDir( Index, Dir) call setplayerdir(index, 4) 4 = direction set to sets player directionFunction GetPlayerIP( Index) getplayerip(index) gets the players I.P.Function GetPlayerInvItemNum( Index, InvSlot) getplayerinvitemnum(index, 3) 3 = item slot checked checks what item is in sertain item slot (by number)Call SetPlayerInvItemNum( Index, InvSlot, ItemNum) call setplayerinvitemnum(index, 3, 4) 3 = item slot 4 = item num gives player item in sertain item slot (will replace an item if the slot is not empty)Function GetPlayerInvItemValue( Index, InvSlot) getplayerinvitemvalue(index, 3) 3 = item slot gets player item amount in item slot Example: in slot 1 player has 300 gold and I declar the command getplayerinvitemvalue(index, 1) it will return the number 300Call SetPlayerInvItemValue( Index, InvSlot, ItemValue) call setplayerinvitemvalue(index, 1, 200) 1 = slot 200 = amount sets the amount of item in slot example: if player has gold in slot one it will make him have 200 gold in slot oneFunction GetPlayerInvItemDur( Index, InvSlot) getplayerinvitemdur(index, 1) 1 = slot gives the durability of the item in slot declaredCall SetPlayerInvItemDur( Index, InvSlot, ItemDur) call setplayerinvitemdur(index, 1, 3) 1 = slot 3 = amount of durability sets the item's durability in declared slot to declared durabilityFunction GetPlayerSpell( Index, SpellSlot) getplayerspell(index, 1) 1 = spell slot gives the spell in the spell slot declared(by number)Call SetPlayerSpell( Index, SpellSlot, SpellNum) call setplayerspell(index, 1, 3) 1 = spell slot 3 = spell sets player spell in declared spell slotFunction GetPlayerArmorSlot( Index) getplayerarmorslot(index) gives the number of the item in the players armor slotCall SetPlayerArmorSlot( Index, InvNum)Function GetPlayerWeaponSlot( Index) getplayerweaponslot(index) gives the number of the item in the players weapon slotCall SetPlayerWeaponSlot( Index, InvNum)Function GetPlayerHelmetSlot( Index) getplayerhelmetslot(index) gives the number of the item in the players helmet slotCall SetPlayerHelmetSlot( Index, InvNum)Function GetPlayerShieldSlot( Index) getplayerShieldslot(index) gives the number of the item in the players shield slotCall SetPlayerShieldSlot( Index, InvNum)Function GetPlayerNecklaceSlot( Index) getplayernecklaceslot(index) gives the number of the item in the players necklace slotCall SetPlayerNecklaceSlot( Index, InvNum)Function GetPlayerRingSlot( Index) getplayerringslot(index) gives the number of the item in the players ring slotCall SetPlayerRingSlot( Index, InvNum)Function GetPlayerLegsSlot( Index) getplayerlegsslot(index) gives the number of the item in the players legs slotCall SetPlayerLegsSlot( Index, InvNum)Function GetBootMap( Index) getbootmap(index) gets the boot map of the map that the player is onFunction GetBootX( Index) getbootx(index) gets the boot x on the map the player is on Function GetBootY( Index) getbooty(index) gets the boot y on the map the player is onFunction IsScrolling() call isscrolling() tells if the game is scrolling or not 0 = no 1 = yesFunction GetMaxPlayers() getmaxplayers() gets the max amount of players aloud on server at onceCall SpawnItemSlot( MapItemSlot, ItemNum, ItemVal, ItemDur, MapNum, x, y) call spawnitemslot(5, 6, 2, 1, 3, 4, 7) 5 = not sure -_- 6 = item number spawned 7 = y position of item 2 = amount of the item spawned 1 = the items durrability 3 = the map the item is spawned on spawns an item on a mapFunction IsConnected( Index) call isconnected(index) tells if the player is connected or not 0 = no 1 = yesFunction IsPlaying( Index) call isplayering(index) tells if the player is playing or not 0 = no 1 = yesCall SendInventory( Index) call sendinventory(index) sends player new inventory informationCall SendInventoryUpdate( Index, InvSlot) call sendinventoryupdate(index, 1) 1 = item slot sends information to player of item in slot used for = if you use a script to set a player item you use this so the player will know or he will not know that he had an item set in his invetoryCall SendWornEquipment( Index) call sendwornequipment(index) sends an update of the equipment the player is wearingCall SendHP( Index) call sendhp(index) sends players current hp updateCall SendMP( Index) call sendmp(index) sends players current mp updateCall SendSP( Index) call sendsp(index) sends player current sp updateCall SendStats( Index) call sendstats(index) sends player stat updateCall Flash( Index, flashfile) call flash(index, "flash.flash") flash.flash = the file the flash is located im not sure what is really sapost to be after the . shows a flash file to a playerCall Prompt(index, question, case script) The question pops up like a message box. The final value is what case script you want to use, depending on the answer. So, if you have it set to 0, it will use the case 0 of yes or no (depending on which one it answers).Call PlaySound( Index, Sound) use: dont kno sorry plays a sound (door opening.....magic fired)Call SendPlayerData( Index) call sendplayerdata(index) sapost to send player new data (never got it to work)Call SetPlayerName( Index, Name) call setplayername(index, "name here") sets the players name to declared nameFunction GetPlayerCharNum( Index) getplayercharnum(index) gets the players character number (1, 2,or 3)Function FindPlayer( Name) Findplayer(index) finds player locationCall PlayerWarp( Index, MapNum, x, y) call playerwarp(index, 1, 2, 3) 1 = map warped to 2 = x warped to 3 = y warped to calls a player warp(changes location of player)Call PaperdollSaver( Index) call paperdollsaver(index) sorry again guys i dont use paperdolls so I dont kno what this does but from the looks of it it saves your paperdollCall AddLog( text, FN) call addlog("added text goes here", "FN goes here") adds text to log Call HackingAttempt( Index, Reason) call hackingattempt(index, "Reason for saying he hacking") kicks player from server for hacking with a little messageCall BattleMsg( Index, msg, color, Side) call battlemsg(index, "Message here", 4, side) 4 = color side = I dont know again sorry im not sure as to what this does =( but guess is it sends a message to playerFunction Rand( High, Low) Rand(1, 5) 1 = lowest number 5 = highest number creates a random number inbetween the 2 numbers declaredCall SetPlayerBankItemNum( Index, BankSlot, ItemNum) call setplayerbankitemnum(index, 3, 2) 3 = bank slot 2 = item num puts an item in players bankFunction GetPlayerBankItemValue( Index, BankSlot) getplayeritemvalue(index, 3) 3 = bank slot gets the item in bank slot valueCall SetPlayerBankItemValue( Index, BankSlot, ItemValue) call setplayeritemvalue(index, 3, 200) 3 = bank slot 200 = amount sets the item in bank slot amountFunction GetPlayerBankItemDur( Index, BankSlot) getplayerbankitemdur(index, 3) 3 = bank slot gets the durability of the item in bank slot 3Call SetPlayerBankItemDur( Index, BankSlot, ItemDur) call setplayerbankitemdur(index, 3, 200) 3 = bank slot 200 = durability sets the durability of an item in declared bank slotFunction GetPlayerTarget( Index) getplayertarget(index) gets the players target (players not npc) example: if getplayertarget(index) = "sting" thenCall SetTimer( Name, Interval) Call SetTimer("tmrtest " & index & "," & script, interval) - Timers run until stopped Example: Call settimer("tmrtest " & index & "," & 3, 800)Call RemoveTimer( Name) call RemoveTimer("tmrtest " & index & "," & script) - Ends / Removes timers Example: Call Removetimer("tmrtest " & index & ",5")Call SetTile( mapper, x, y, xset, yset, tileset, layer) call SetTile(map, x, y, xset, yset, tileset, layer) - places an tile on the x and y position specified Example: call SetTile(1, 10, 10, 15, 12, 2, 3)Function GetTileX( mapper, x, y, layer) GetTileX(map, x, y, layer) - gets tile on the X position on the tileset Example: if GetTileX(1, 2, 2, 4) = 4 thenFunction GetTileY( mapper, x, y, layer) GetTileY(map, x, y, layer) - gets tile on the Y position on the tileset Example: if GetTileY(1, 2, 2, 4) = 4 thenFunction GetTileSet(mapper, x, y, layer) GetTileSet(map, x, y, layer) - gets tile on the tileset used on the x and y position Example: if GetTileSet(1, 2, 2, 4) = 4 thenCall SpellAnim(SpellNum, map, x, y) Call SpellAnim(spellnum, map, x, y) - displays the animation on the specified map and x and y position Example: Call SpellAnim(5, 1, 10, 12)Call SetMapNpcNumber(MapNum, Index, number) Call SetMapNpcNumber(MapNum, Index, number) number = the number of the npc - set the npc on that map Example: Call SetMapNpcNumber(1, Index, 1)Call SetMapNpcTarget( MapNum, Index, Target) Call SetMapNpcTarget( MapNum, Index, Target) target = the index number of the player the npc should target - set the target of the npc Example: Call SetMapNpcTarget(1, Index, 1)Call SetMapNpcDir(MapNum, Index, direction) Call SetMapNpcDir( MapNum, Index, direction) direction = the direction the npc should face - set the direction of the npc Example: Call SetMapNpcDir(4, Index, 0)Call SetMapNpcY( MapNum, Npc_Index, NPC_Y) Call SetMapNpcY( MapNum, npc_Index, NPC_Y) - set the Y location of the npc Example: Call SetMapNpcY(1, 2, 5)Call SetMapNpcX( MapNum, Index, NPC_X) Call SetMapNpcX( MapNum, npc_Index, NPC_Y) - set the X location of the npc Example: Call SetMapNpcX(1, 2, 5)Call SetMapNpcHP( MapNum, npc_Index, HitPoints) Call SetMapNpcHP( MapNum, npc_Index, HitPoints) - set the health of the npc Example: Call SetMapNpcHP(1, 2, 15)Call sendNPC( MapNum, MapNpcNum) Call sendNPC( MapNum, MapNpcNum) - update the npc after altering it through scripts Example: Call sendNPC(1, 2)Function GetNpcMaxhp(npc_Index) GetNpcMaxhp(npc_Index) - get the max health of the npc Example: GetNpcMaxhp(1)Function GetMapNPCnumber( MapNum, Index) GetMapNPCnumber( MapNum, Index) - get the number of the npc on that map Example: GetNpcMaxhp(1, 5)Function GetMapNpcHP( MapNum, Index) GetMapNpcHP( MapNum, Index) - get the health of the npc on that map Example: GetMapNpcHP(1, 5)Function GetNpcName(number) GetNpcName(number) - returns the name of the npc Example: GetNpcName(50)Function GetNpcBehavior( number) GetNpcBehavior( number) - returns the behavior of the npc (shopkeeper, guard, etc) Example: GetNpcBehavior(50)Function GetNpcExp(number) GetNpcExp(number) - returns the number of exp you get from that specific npc Example: GetNpcExp(50)Function GetNpcDefence(number) GetNpcDefence(number) - returns the defence of that specific npc Example: GetNpcDefence(50)Function GetNpcStrength( number) GetNpcStrenght(number) - returns the strenght of that specific npc Example: GetNpcStrenght(50)Call SendIndexWornEquipment(Index) SendIndexWornEquipment(Index) - updates you're current equipment to everybody Example: call SendIndexWornEquipment(Index)Call SendIndexWornEquipmentFromMap(Index) SendIndexWornEquipmentFromMap(Index) - updates you're current equipment to everybody on the same map as you are on Example: call SendIndexWornEquipmentFromMap(Index)Function getPlayersOnMap(MapNum) getPlayersOnMap(MapNum) - returns the number of players on that map Example: getPlayersOnMap(1)Call ScriptSpawnNpc(MapNpcNum, MapNum, spawn_x, spawn_y, NpcNum) ScriptSpawnNpc(MapNpcNum, MapNum, spawn_x, spawn_y, NpcNum) - spawns an npc on that specific map Example: Call ScriptSpawnNpc(5, 1, 20, 10, 50)Call SpawnItemOnMap( Map, x, y, ItemNum, amount, durability)Function getitemname( number)Call clearitemslot( Map, item_index)Call goshopping( Index, ShopNum) opens a shop up -shopnum: the shop number opened Example: call goshopping(index, 2)Call lockplayer( Index, locked) locks a player making them unable to move -locked: 1 = cant move 0 = can Example: call lockplayer(index, 1)Function getplayerlocked( Index) checks if the player is locked Example: if getplayerlocked(index) = 1 thenCall setservertimehour( script_hour) sets the in game time (hour) Example: call setservertimehour(12)Call setservertimeminute( script_minute) set the in game time (minutes) Example:call setservertimeminute(43)Call setservertimesecond( script_second) set in game time (seconds) Example: call setservertimesecond(40)Function getservertimehour() tells the time of server (hours) example: if getservertimehour() = 12 thenFunction getservertimeminute() tells the time of server (minutes) example: if getservertimeminute() = 30 thenFunction getservertimesecond() tells the time of server (seconds) if getservertimesecond() = 40 thenFunction getInvItemslot(Index, F_item_num, F_Min_value, F_Min_dur)Call giveplayeritemtoslot(Index, F_slot, F_num, F_Val, F_dur)Function giveplayeritem(Index, F_num, F_Val, F_dur)Call textbubble(player_index, bubble_index, F_text, F_map, F_x, F_y, F_colour)Call maptextbubble(bubble_index, F_text, F_map, F_x, F_y, F_colour)Function getmapname(F_map) gets the name of the map -f_map = map number example: if getmapname(10) = "script" thenFunction getmapup(F_map) gets the map that is above map requested (like when u go off screen up where u go) f_map = map number example: if getmapup(getplayermap(index)) = 100 thenFunction getmapdown(F_map) same as getmapup except checks below mapFunction getmapLeft(F_map) same as getmapup except checks right mapFunction getmapRight(F_map) same as getmapup except checks left mapCall CustomMenuShow( Index, Title, FileName, closable)Call CustomMenuClose( Index)Call CustomMenuPicture( player_index, picture_index, FileName, left, top)Call CustomMenuLabel( player_index, picture_index, caption, left, top, customsize, customcolour, alignment, width, height)Call CustomMenuTextBox( player_index, customIndex, width, left, top, text)Function getplayermenuclicktitle( player_index)Function getplayermenuclickmsg( player_index)Call Loadinternet( Index, address) loads a webpage address = url example: call loadinternet(index, "http://www.touchofdeathproductions.com")Call updateplayermenutext( player_index, box_index)Function getplayermenutext( player_index)Call reloadshop( ShopNum) reloads a shop (incase added item with a script) shopnum = the shop number to reload example: call reloadshop(1)Call npcmoving( MapNum, MapNpcNum, direction, Speed)Call SetSpeed(Index, Movement, Speed)Quote sets the players speed (4 is walking default 8 is running default) movment = walking speed set or running speed set speed = the amount to change speed to example: call setspeed(index, walk, 24)Function GetNpcX( MapNum, MapNpcNum) gets the x location of an npc on a map mapnum = map number mapnpcnum = the npc slot number example: if getnpcx(1, 1) = 1 thenFunction GetNpcY( MapNum, MapNpcNum) same as getnpcx execpt gets y positionCall setweather( MapNum, Weather, Interval)Call image( Index, x, y, tile, top, height, left, width)Call lights( Map, light)Call colorplayername( Index, color) sets the color of a players name color = the color u wanna set (see top of main.txt for color list) Example: call colorplayername(index, 5)Call lockspells( Index, locked) locks player spells making it so he/she cant cast spells locked = 1 = cant cast spells, 0 = can cast spells example: lockspells(index, 1)Call lockitems( Index, locked) same as lockspells exept makes it so player cant use itemsCall lockattack( Index, locked) same as lockspells exept makes it so player cant attackGetIndexPlayerOnMap(Map, x, y) tells who is on map in certain location (returns the index number not the name if player) map = map number x = x location y = y location example: call playerwarp(getindexplayeronmap(1, 1, 1), 1, 1, 1)call SetPlayerPet(index, NpcNum) sets the players pet npcnum = the npc number wanted to become pet example: setplayerpet(index, 5)GetPlayerPet(index) returns the npc number of the player's pet example: if getplayerpet(index) = 1 thenGetPlayerHead(index) gets what number of head player selected when creating character example: if getplayerhead(index) = 1 thencall SetPlayerHead( index , head ) changes the players head that was chosen when creating character head = head number example: call setplayerhead(index, 1)GetPlayerBody( index ) same as getplayerhead cept its for his bodycall SetPlayerBody( index , body ) same as setplayerhead cept its for his bodyGetPlayerleg( index ) same as getplayerhead cept its for his legscall SetPlayerLeg( index , leg ) same as setplayerhead cept ifs for his legsGetPlayerSkillLvl( index , skill )call SetPlayerSkillLvl( index , skill , lvl )GetPlayerSkillExp( index , skill )call SetPlayerSkillExp( index , skill , lvl )call Script(file , suby, Optional code1, Optional code2, Optional code3, Optional code4, Optional code5)call MovePlayer(index, direction, Movement)Sub SavePlayerProgress(index)Function GetPlayerGender(index) gets the players gender 1 = female, 0 = male example: if getplayergender(index) = 1 thenFunction GetQuestProgress(index, questid)Function SetQuestProgress(index, questid , height)```Under **Questions?**:If you have any questions or thoughts please visit the forum at: www.touchofdeathforums.com. Someone there will be more then happy to help you!Under **New Features**Hmm, just check out the EE2.7 topic, there's some features listed that I'm sure we can paste ;) Link to comment Share on other sites More sharing options...
Akselj Posted May 7, 2009 Author Share Posted May 7, 2009 Thanks! But what about the links? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 7, 2009 Share Posted May 7, 2009 @[ⓈⒷ:> Ⓐⓚⓢâ“â€Ã¢â€œâ€ºÃ¢â€™Â¿ link=topic=44001.msg444301#msg444301 date=1241719162]> Thanks! But what about the links?What links? Link to comment Share on other sites More sharing options...
Akselj Posted May 8, 2009 Author Share Posted May 8, 2009 @Admiral:> 2) *link to Vista Fix goes here, and tells the user how to download it*> 3) *link to runtime error fixes here*"I guess I can find them myself…And for the Custom Mneu fix, isn't that just for the text box? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 8, 2009 Share Posted May 8, 2009 @[ⓈⒷ:> Ⓐⓚⓢâ“â€Ã¢â€œâ€ºÃ¢â€™Â¿ link=topic=44001.msg444706#msg444706 date=1241786522]> I guess I can find them myself…> > And for the Custom Mneu fix, isn't that just for the text box?Oh, those links!The custom menu thing, the input box always returns "0"; eg, I type in "Moose" and hit "Okay" (or w/e), and it will return "0".The links, Vista Fix is in the "Bugs and Errors" board, and the Runtime Error fixes are well, in the Runtime Errors board Link to comment Share on other sites More sharing options...
Akselj Posted May 9, 2009 Author Share Posted May 9, 2009 @Admiral:> The custom menu thing, the input box always returns "0"; eg, I type in "Moose" and hit "Okay" (or w/e), and it will return "0".I know… But I thought there were more errors that that.@Admiral:> The links, Vista Fix is in the "Bugs and Errors" board, and the Runtime Error fixes are well, in the Runtime Errors boardI put this instead:> If you have an error, check out the Bugs & Errors fix list here: http://www.touchofdeathforums.com/smf/index.php?topic=12254.0That list, by Godlord, includes most errors and their fixes. Link to comment Share on other sites More sharing options...
unnown Posted May 9, 2009 Share Posted May 9, 2009 did you fix the map freezing thing?i did, so if you need it, pretty please me :p Link to comment Share on other sites More sharing options...
Akselj Posted May 9, 2009 Author Share Posted May 9, 2009 Can I have the code for that, pretty please with sugar on top? Link to comment Share on other sites More sharing options...
unnown Posted May 9, 2009 Share Posted May 9, 2009 yeah sure get on msn [email protected] Link to comment Share on other sites More sharing options...
Akselj Posted May 9, 2009 Author Share Posted May 9, 2009 Thanks, adding it to the list :) Link to comment Share on other sites More sharing options...
The Oracle Posted May 9, 2009 Share Posted May 9, 2009 just a question: is source going to be included? Link to comment Share on other sites More sharing options...
unnown Posted May 9, 2009 Share Posted May 9, 2009 he's releasing the tut's to fix things to,although i already had them Link to comment Share on other sites More sharing options...
The Oracle Posted May 9, 2009 Share Posted May 9, 2009 yeah. this stuff is mostly easy to fix, just time consuming XD Link to comment Share on other sites More sharing options...
Akselj Posted May 9, 2009 Author Share Posted May 9, 2009 @The:> just a question: is source going to be included?Yeah, source, tuts and compile. Link to comment Share on other sites More sharing options...
dingleberrys Posted May 11, 2009 Share Posted May 11, 2009 :O please release it as is now i need that engine (fixed custom menus) for my game elrend to restart O_O Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 11, 2009 Share Posted May 11, 2009 I must point out.Bob was telling me though, the reason they set custom menus to only return 0, was because it was possible for a player to run scripts though the custom menus Link to comment Share on other sites More sharing options...
Akselj Posted May 11, 2009 Author Share Posted May 11, 2009 @Admiral:> I must point out.> Bob was telling me though, the reason they set custom menus to only return 0, was because it was possible for a player to run scripts though the custom menusHow? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now