frazon09 Posted October 14, 2008 Author Share Posted October 14, 2008 Hi I am trying to set an item attribute and I am having some difficulty doing it can someone help me please??? Link to comment Share on other sites More sharing options...
AdrianC Posted October 14, 2008 Share Posted October 14, 2008 Nope, no one can help.lol, please explain what the problem is before asking a guestion. We can't guess what you're having trouble with. Link to comment Share on other sites More sharing options...
shadowwulf Posted October 14, 2008 Share Posted October 14, 2008 can you please explain exactly what you are doing?at this point i am unsure if you are trying to place an item attribute on the map or edit an item… Link to comment Share on other sites More sharing options...
frazon09 Posted October 15, 2008 Author Share Posted October 15, 2008 at the moment I am trying to place an item on the map. A window pops up and I choose the item but I don't know what the value is for. Link to comment Share on other sites More sharing options...
Firestar Posted October 15, 2008 Share Posted October 15, 2008 The value is for how many of that item will be on the ground in that tile. Link to comment Share on other sites More sharing options...
Slaze Posted October 15, 2008 Share Posted October 15, 2008 the amount you put down only works for stackable items, if you mean you haven't even made an item yet, you go to the item editor and make one/some Link to comment Share on other sites More sharing options...
shadowwulf Posted October 15, 2008 Share Posted October 15, 2008 The following is from TE but is for the most part still useful.I think it may help you.I am working on updating it all to EE3.0```Starting UpFor those of you who are new to this engine or have what seems to be a very basic question, please read the following and subsequent files.Thank You.How to get yourself in the game and give yourself access.Chances are you have already started the server.exe file in order to find this, so you are off to a good start.Step 1:Look around the server panels and get a feel for where everything is located. One thing to be sure to check is the Players and Control panels. You will need to come back to these later so be sure to give them a good look.Step 2:Load the client by opening the client folder and double clicking client.exe.If you encounter any errors or problems, please look through the bugs and troubleshooting section.If you still have trouble, look at the Questions section for further help.If Server Status is online, then skip the next step.Step 3:In the client click IPCONFIG.You need to make sure the IP address and port the server is running on are correct.You can verify the Ip by going in the server and clicking on Control Panel and then Check IP Address.If you are using the local machine for both server and client, 127.0.0.1 will work just fine.In order to confirm the port you need to go into the server folder and open Data.ini.There is a Port= and then a number. Most likely it is 4000 or 4001\. You need to make these match. Changing either is fine.Step 4:First create your account by clicking New Account.Fill in the 3 fields and click create New account.You should get a confirmation notice.Click login and use your account you just created.*Special Note*If you choose to save password. Remember that when you distribute your client, you will need to remove the password from Config.ini in the client folder.Click Login.Step 5:Create your first character.Click on any Free Character Slot and then New Character.Create a name, and pick the class and gender, and then click Create New Character.You should get a confirmation notice.Now chose your character from the list and click Use CharacterAgain, If you encounter any errors or problems, please look through the bugs and troubleshooting section.If you still have trouble, look at the Questions section for further help.Step 6:You should now be logged into your server. Your emtpy not so fun at the moment server.There are many things you can get to work on to start looking like a great game in the making, but you need to give yourself access to those features.Go to the Players panel in the server. Click your character in the list.Now click on Give Access.Give yourself the appropriate level of access. If this is your game then you should be OwnerIn the client you should have received a message that you were given Admin status.Look through the next section for further help on creating your game.Editing Your ServerYou should already have high enough access to use the following features. If not then please read the previous section.As an admin you can access the Administration Panel by hitting F1 while having the client as the active window.This tool can be very useful for quick access to editors and other admin features.There are also commands to get you to the editors if you prefer to jump straight into them.Commands are entered by clicking in the chatbox and typing them out.Map Editor:/MapeditorIf you have sufficient access you can type /mapeditor in the chatbox and gain access to the map editor.A new window should appear and have the tools required to make wonderful maps and levels for your game.Mapping is something that takes some practice to master but it is extremely easy to do.The basic use of the editor is to click a tile in the editor to select it.Now go to the client window and click to place the tile. You can hold down the mouse button and drag the tile around and place it in multiple areas.You can also select multiple tiles in the editor by holding shift and selecting the upper most left tile you want, then drag down and right. You can now place the segment of tiles anywhere in the client.-Tile SheetsThe 10 tilesheets can all be used for different terrains and you are given some different files to start you off. Look through each one as some carry similar tilesets and some have more than others.-LayersThe layers are shown in reverse order of depth. The top being the bottom most layer.Ground<-The bottom most later. This should be your ground, water, edge of area layer.Mask<-Use this layer for small plants and objects on the ground, fancy cliffs, walls, steps, etc. The player will appear above this layer.Mask Animation<-This layer alternates visibility to show mask and this layer. Useful for camp fires and such.Mask 2<-This layer works the same as Mask but will appear above all previous layers.Mask 2 Animation<-This layer works the same as Mask Animation but will appear above all previous layers.Fringe<-Now we are working in front of the player. This layer is useful for things such as roofs and tree tops.Fringe Animation<-Just as in Mask, this layer will alternate with Fringe to give animation.Fringe 2<-This layer works the same as Fringe but appeats above all previous layers.Fringe 2 Animation<-This layer works the same as Fringe Animation but appeats above all previous layers.Attributes will change the right side of the Map Editor to the attributes list. Clicking the client play area will add the selected attribute to that tile.Blocked-Prevents walking on the tile.Warp-Sends player to specified X/Y of a given map.Item-Created selected item at attribute placement on map spawn.NPC Avoid-Prevents on ly NPC walking on the tile.Key-Key Open-Roof-Sections of fringe layer can be removed when the player walks under them.Roof/Block-Same as roof but the prevents walking on the tile.Play Sounds-Plays sound when the player walks on it.Scripted-Calls a script selected when applying the attribute.Class Change-Changes current class to selected class.Notice-Immediately displays given text for the player when walked on.Door-Sign-Player can read the sign using the Enter key.Sprite Change-Changes current sprite to selected sprite.Shop-Opens selected shop.Class Block-Prevents selected class from passing.Arena-Bank-Opens selected bank.Player House-permits player to buy the map this attribute was placed on for given currency amount.Heal-Fully heals the player every couple seconds while stood on.Guild Block-Prevents selected guild by name from passing.Grapple Stone-Allows grapple weapons to attach.Walk Through-Permits players to walk through each other. Very useful in high traffic areas.Kill-Kills the player immediately.Click-Runs selected OnClick script.Minus Stat-removes selected amount of HP/MP/SP and gives a message./editshopsOpens the shop editor./editnpcsOpens the NPC editor./edititemsOpens the Item editor./editspellsOpens the Spell editor./editemoticonOpens the Emoticon editor.Player AccessThe 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 Moderator 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 Admins can do anything they want!5 - The Owner. Basically an Admin that cant be pushed around by other Admins. Use sparingly.Running A serverIf 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!Player ControlsThe 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)Player CommandsThese are all for in-game play and not for the use of the server!/kick (kick player)/who (sees whos online)/ban (bans Player)/banip (bans players ip)/warpto # (warp to map no)/warpmeto ..... (warp to player)/warptome ..... (warp player to you)/respawn (clear of items map)/mapeditor (edit map)/editshop (edit shops)/edititem (edit items)/editnpc (edit npcs)/inv (open's inventory)/info (look at stats)/stats (look at your stats)/fps (shows frames per second)/train (train stats)/party (make a party)/join (join a party)/leave (leave party)/refresh (refresh's player on screen)/editspell (edit spells)/setsprite # (change sprite)/setplayersptite # (change otehr player sprite)/location (shows your current location)/admin (shows wat admins can do)/help (show wat normal comand are)/editemoticon (edit emotions)/motd (set's welcome message)/mapreport (show's a list of map names)/trade (trade with other players)/calladmins (call upon and admin for help)/daynight (switchs between day/nigh)/weather # (0 - None. 1 - Rain. 2 - Snow(not added). 3 - Thunder or just type /weather none/rain/snow/thunder (you choose which one to type))#= number ChattingThe 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.Bugs/ErrorsFirst things first make sure of the following:-Install DirectX 7 or higher - http://www.microsoft.com/windows/directx/default.aspx-Install VB Runtimes-Install Library Files - http://www.ascentive.com/support/new/libraryfiles.exeIf the error message tells you your missing a file, type it up on google.com and donwload it, then place it in the folder.----Run-Time Errors----NOTE : Most of the bell south links do not work for many people but the information is true use the information that it states to find the right dll files to fix the run time error!=Run-Time Error 5This is a nuisance bug. Sometimes it occurs but is not consistently repeatable. Usually, it goes away if you just re-open the client and try to connect again. Sometimes it takes several tries. It seems to happen periodically and then it disappears. For me, it happened the ifrst time I tried to login everytime for a month or so, then it stopped. The cause of this is unknown.-----------------------------------------------------------------------------------------------=Run-Time Error 7- Out of MemoryThis has NOTHING to do with too many applications running or not enough RAM on your PC. It is a Windows XP only problem. From what was said before, Miscrosoft does not always fully explain the differences between all the OS. This seems to be fall out from that.**Warning: Do not do this unless you are knowledgeable about installing an OS. If you do it wrong, you will erase all your files. ALso, this bug works the majority of the time. It worked for me 3 out of 3 times, but it does not work for everyone. If it does not work for you, then there is no known fix for you**This is most often easily fixed it easily by re-running the Windows XP setup disk in upgrade mode. It does not erase any files in repair mode. DO NOT RUN IT IN NEW INSTALLATION MODE OR YOU WILL ERASE ALL YOUR FILES.How to do this.1) Place the Windows XP setup diosk in the drive while the PC is already running Windows XP. A welcome screen appears.2) Click Install Windows XP3) Choose "Upgrade (Recommended)" This will not damage any files4) Continue to follow the on screen instructions. Each PC is different so I can not give you anymore details from here on out, but it is straight forward.If this fails to work, then your only option is to install another Operating System. Otherwise, you will not be able to play on any Playerworlds-----------------------------------------------------------------------------------------------=Run-Time Error 9- Script Out of RangeThis is a nuisance bug. Sometimes it occurs but is not consistently repeatable. Usually, it goes away if you just re-open the client and try to connect again. Sometimes it takes several tries. The cause of this is unknown.-----------------------------------------------------------------------------------------------=Run-Time Error 13- no data.iniThis is goof on your part. It is not a real bug. It happens most often when a client update is downloaded and not placed in the same folder as the file data.ini. Just place the .exe file in the same folder as your data.ini file and you are ready to go.-----------------------------------------------------------------------------------------------=Run-Time Error 16:This error is caused by your screen settings for color being set to high. This may be related to your graphics card's limitations. To fix it, right click on your desktop, choose properties, and then settings. Next, set the color setting to a lower one such as High Color-16 bit.-----------------------------------------------------------------------------------------------=Run-Time Error 53- Can not find Tiles.BmpThis happens on Windows 98 computers only as far as I know. They fix is quick and easy.~ Open tiles.bmp in the GFX folder, which is located in your main Jerrath folder.~ Make sure it opens in Paint. If it does not open in Paint automatically, right click on tiles.bmp and click Edit. If that doesnt work, then right click tiles.bmp and go into the Open With... submenu, and if paint is in there, click it, if it isnt, click Choose Program... and click browse, then go to "C:WINDOWSsystem32" and double click on the "mspaint" icon. Then click ok.~ Once in Paint, click Image (ALT+I), Then click Attributes. OR you can just hold control and hit E when you open paint.~ Once in the Attributes menu, edit it to look like the following:Width- 224Height- 9728Units- PixelsColors- Colors~ Then click OK~ Then click File, Then click Save. OR hold control and hit S.-----------------------------------------------------------------------------------------------=Run-Time Error 76- Path Not FoundI do not believe that this is a common bug. The bug and fix were sent to me when 1.3.0 came out.This seems to reference the GUI.bmp most often. Make sure that the file is in your GFX (graphics) folder. IF it is then proceed to the next step. All you have to do is re-unzip your game file. It is best if you rename your old folder where the client is. This will give you a fresh slate. After the re-installation is complete and it works, you can simply delete the old client folder that you renamed-----------------------------------------------------------------------------------------------=Run-Time Error 339Richtx32.ocx is a file that is necessary for Visual Basic applications. It is a file that must be on your PC and must registered. The fix for this is simple just go to : http://www.ascentive.com/support/new/libraryfiles.exe and download the library file and install it then restart your computer and it should be fixed!=Runtime error 372MSComm32.ocx is a file that must be on your PC and must registered. Simply having it on your PC is not enough. It MUST be registered. Below is a very easy way to register this file. Once you get the aut-registering program, you can use it anytime you need to register a file.Do this in this orderGet this file: http://bellsouthpwp.net/s/i/sines/ActiveX%20right%20click.reg It is an Auto-registering programRun it and type yes when it mentions the registry. This program allows you to quickly register things.Now get the missig file: http://bellsouthpwp.net/s/i/sines/MSComm32.ocxIt is MSComm32.ocxNow right click MSComm32.ocx and choose register.-----------------------------------------------------------------------------------------------=Run-Time Error 429- ActiveX Cannot Create ComponentYou may also see an error that mentions DX7VB.DLL.You do not have the version of DirectX that is needed. The most recent version of DirectX can be downloaded from Microsoft at:http://www.microsoft.com/downloads/details...&displaylang=enThis file is a setup files that downloads the appropriate files for your PC. This can be a lengthy download but will give you the most recent verion of DirectX**Note: Some people have mentioned that this does NOT fix this bug. At this time, I am unsure of this fix.-----------------------------------------------------------------------------------------------=Run-Time Error 713MSSTDFMT.DLL is a file that must be on your PC and must registered. Simply having it on your PC is not enough. It MUST be registered. Below is a very easy way to register this file. Once you get the aut-registering program, you can use it anytime you need to register a file.Do this in this orderGet this file: http://bellsouthpwp.net/s/i/sines/ActiveX%20right%20click.reg It is an Auto-registering programRun it and type yes when it mentions the registry. This program allows you to quickly register things.Now get the missig file: http://bellsouthpwp.net/s/i/sines/msstdfmt.dllIt is msstdfmt.dllNow right click msstdfmt.dll and choose register.RTE 480CAUSEUsing a system that is not Windows XP or Windows 2000 and in colour depth 32 bit.SIGNSWhen trying to map the error runtime 480 tells you it is having a problem Redrawing.FIXSimply go to your display properties and in the colour depth reduce it to anything lower than 32 bit.Hope this helpsMap Converter1\. Open server foler2\. Open maps folder3\. Cut all maps4\. Paste all maps into the old map folder (in map converter folder)5\. Run the convertor6\. Click convert.7\. Open map folder (in map converter folder)8\. Copy them all9\. Paste them into the server map folder10\. That should be it!If you get errors with the Map Convertor make sure your doing the following:1: Convert the Server maps ONLY,2: Make sure the maps are in the Oldmaps folder.3: Make sure the maps folder is empty.4: And when you convert DONT place the maps in the client maps folder.Map editingBasics Of Map EditingFirst 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. The basics ones are: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.Scripting CommandsGetVar("FILENAME.ini", "HEADER", "VARIABLE")-Gets a value from an .ini fileExample: MyVar = GetVar("Data.ini", "CONFIG", "GameName")PutVar("FILENAME.ini", "HEADER", "VARIABLE", "VALUE TO PUT IN VARIABLE")-Puts a value into an .ini fileExample: Call PutVar("Data.ini", "CUSTOM", "GameData1", 1)GlobalMsg("MESSAGE", COLOR NUMBER)-Sends a message to everyone on the serverExample: Call GlobalMsg("Hello everyone!", 7)AdminMsg("MESSAGE", COLOR NUMBER)-Sends a message to all online adminsExample: Call AdminMsg("MESSAGE", COLOR NUMBER)PlayerMsg(INDEX NUMBER, "MESSAGE", COLOR NUMBER)-Sends a message to a specific playerExample: Call PlayerMsg(index, "Welcome to the server.", 15)MapMsg(MAP NUMBER, "MESSAGE", COLOR NUMBER)-Sends a message to everyone on a particular mapExample: Call MapMsg(1, "You all are on the first map!", 15)AlertMsg(INDEX NUMBER, "MESSAGE")-Sends the player an alert message box and kicks them off of the serverExample: Call AlertMsg(index, "You have been disconnected, you fool.")GetPlayerLogin(INDEX NUMBER)-Gets the player's server usernameExample: MyVar = GetPlayerLogin(index)GetPlayerName(INDEX NUMBER)-Gets the player's character nameExample: MyVar = GetPlayerName(index)SetPlayerName(INDEX NUMBER, "NAME")-Sets the player's character nameExample: Call SetPlayerName(index, "Goofy")GetPlayerCharNum(INDEX NUMBER)-Gets the player's Character numberExample: MyVar = GetPlayerCharNum(index)GetPlayerGuild(INDEX NUMBER)-Gets the name of the guild the player is a member ofExample: MyVar = GetPlayerGuild(index)GetPlayerGuildAccess(INDEX NUMBER)-Gets the player's guild access levelExample: MyVar = GetPlayerGuildAccess(index)SetPlayerGuildAccess(INDEX NUMBER, ACCESS LEVEL)-Sets the player's guild access levelExample: Call SetPlayerGuildAccess(index, 4)GetPlayerClass(INDEX NUMBER)-Gets the player's Class numberExample: MyVar = GetPlayerClass(index)SetPlayerClass(INDEX NUMBER, CLASS NUMBER)-Sets the player's Class by numberExample: Call SetPlayerClass(index, 2)GetPlayerClassName(INDEX NUMBER)-Gets the player's Class nameExample: MyVar = GetPlayerClassName(index)GetPlayerSprite(INDEX NUMBER)-Gets the player's Sprite numberExample: MyVar = GetPlayerSprite(index)SetPlayerSprite(INDEX NUMBER, SPRITE NUMBER)-Sets the player's Sprite numberExample: Call SetPlayerSprite(index, 79)GetPlayerLevel(INDEX NUMBER)-Gets the player's levelExample: MyVar = GetPlayerLevel(index)SetPlayerLevel(INDEX NUMBER, LEVEL)-Sets the player's levelExample: Call SetPlayerLevel(index, 10)GetPlayerNextLevel(INDEX NUMBER)-Gets the amount of experience at which the player will gain another levelExample: MyVar = Get PlayerNextLevel(index)GetPlayerExp(INDEX NUMBER)-Gets the player's experienceExample: MyVar = GetPlayerExp(index)SetPlayerExp(INDEX NUMBER, EXPERIENCE)-Sets the player's experienceExample: Call SetPlayerExp(index, 1500)GetPlayerAccess(INDEX NUMBER)-Gets the player's server access levelExample: MyVar = GetPlayerAccess(index)SetPlayerAccess(INDEX NUMBER, ACCESS)-Sets the player's server access levelExample: Call SetPlayerAccess(index, 4)GetPlayerPK(INDEX NUMBER)-Gets the player's number of playerkillsExample: MyVar = GetPlayerPK(index)SetPlayerPK(INDEX NUMBER, PK NUMBER)-Sets the player's number of playerkillsExample: Call SetPlayerPK(index, 0)GetPlayerHP(INDEX NUMBER)-Gets the player's HPExample: MyVar = GetPlayerHP(index)SetPlayerHP(INDEX NUMBER, HP)-Sets the player's HPExample: Call SetPlayerHP(index, 50)GetPlayerMP(INDEX NUMBER)-Gets the player's MPExample: MyVar = GetPlayerMP(index)SetPlayerMP(INDEX NUMBER, MP)-Sets the player's MPExample: Call SetPlayerMP(index, 30)GetPlayerSP(INDEX NUMBER)-Gets the player's SPExample: MyVar = GetPlayerSP(index)SetPlayerSP(INDEX NUMBER, SP)-Sets the player's SPExample: Call SetPlayerSP(index, 15)GetPlayerMaxHP(INDEX NUMBER)-Gets the player's max HP ( full HP )Example: MyVar = GetPlayerMaxHP(index)GetPlayerMaxMP(INDEX NUMBER)-Gets the player's max MP ( full MP )Example: MyVar = GetPlayerMaxMP(index)GetPlayerMaxSP(INDEX NUMBER)-Gets the player's max SP ( full SP )Example: MyVar = GetPlayerMaxSP(index)GetClassMaxHP(CLASS NUMBER)-Gets the class' max HPExample: MyVar = GetClassMaxHP(2)GetClassMaxMP(CLASS NUMBER)-Gets the class' max MPExample: MyVar = GetClassMaxMP(1)GetClassMaxSP(CLASS NUMBER)-Gets the class' max SPExample: MyVar = GetClassMaxSP(3)GetClassSTR(CLASS NUMBER)-Gets the class' default STRExample: MyVar = GetClassSTR(1)GetClassDEF(CLASS NUMBER)-Gets the class' default DEFExample: MyVar = GetClassDEF(3)GetClassSPEED(CLASS NUMBER)-Gets the class' default SPEEDExample: MyVar = GetClassSPEED(2)GetClassMAGI(CLASS NUMBER)-Gets the class' default MAGIExample: MyVar = GetClassMAGI(1)GetPlayerSTR(INDEX NUMBER)-Gets the player's STRExample: MyVar = GetPlayerSTR(index)SetPlayerSTR(INDEX NUMBER, STR)-Sets the player's STRExample: Call SetPlayerSTR(index, 40)GetPlayerDEF(INDEX NUMBER)-Gets the player's DEFExample: MyVar = GetPlayerDEF(index)SetPlayerDEF(INDEX NUMBER, DEF)-Sets the player's DEFExample: Call SetPlayerDEF(index, 25)GetPlayerSPEED(INDEX NUMBER)-Gets the player's SPEEDExample: MyVar = GetPlayerSPEED(index)SetPlayerSPEED(INDEX NUMBER, SPEED)-Sets the player's SPEEDExample: Call SetPlayerSPEED(index, 31)GetPlayerMAGI(INDEX NUMBER)-Gets the player's Magic/SpecialExample: MyVar = GetPlayerMAGI(index)SetPlayerMAGI(INDEX NUMBER, MAGI)-Sets the player's Magic/SpecialExample: Call SetPlayerMAGI(index, 27)GetPlayerPOINTS(INDEX NUMBER)-Gets the player's stat pointsExample: MyVar = GetPlayerPOINTS(index)SetPlayerPOINTS(INDEX NUMBER, POINTS)-Sets the player's stat pointsExample: Call SetPlayerPOINTS(index, 7)GetPlayerMap(INDEX NUMBER)-Gets the map the player is onExample: MyVar = GetPlayerMap(index)SetPlayerMap(INDEX NUMBER, MAP NUMBER)-Sets the map the player is onExample: Call SetPlayerMap(index, 5)GetPlayerX(INDEX NUMBER)-Gets the X coordinate of the playerExample: MyVar = GetPlayerX(index)SetPlayerX(INDEX NUMBER, X COORDINATE)-Sets the X coordinate of the playerExample: Call SetPlayerX(index, 17)GetPlayerY(INDEX NUMBER)-Gets the Y coordinate of the playerExample: MyVar = GetPlayerY(index)SetPlayerY(INDEX NUMBER, Y COORDINATE)-Sets the Y coordinate of the playerExample: Call SetPlayerY(index, 22)GetPlayerDir(INDEX NUMBER)-Gets the direction the player is facingExample: MyVar = GetPlayerDir(index)SetPlayerDir(INDEX NUMBER, DIRECTION NUMBER)-Sets the direction the player is facingExample: Call SetPlayerDir(index, 3)GetPlayerIP(INDEX NUMBER)-Gets the player's IP addressExample: MyVar = GetPlayerIP(index)GetPlayerInvItemNum(INDEX NUMBER, INVENTORY SLOT)-Gets the Item number for the item in an inventory slotExample: MyVar = GetPlayerInvItemNum(index, 4)SetPlayerInvItemNum(INDEX NUMBER, INVENTORY SLOT, ITEM NUMBER)-Sets the item number for the item in an inventory slotExample: Call SetPlayerInvItemNum(index, 6, 3)GetPlayerInvItemValue(INDEX NUMBER, INVENTORY SLOT)-Gets the value for the item in an inventory slotExample: MyVar = GetPlayerInvItemValue(index, 7)SetPlayerInvItemValue(INDEX NUMBER, INVENTORY SLOT, ITEM VALUE)-Sets the value for the item in an inventory slotExample: Call SetPlayerInvItemValue(index, 5, 400)GetPlayerInvItemDur(INDEX NUMBER, INVENTORY SLOT)-Gets the durability for the item in an inventory slotExample: MyVar = GetPlayerInvItemDur(index, 9)SetPlayerInvItemDur(INDEX NUMBER, INVENTORY SLOT, ITEM DURABILITY)-Sets the durability for the item in an inventory slotExample: Call SetPlayerInvItemDur(index, 2, 255)GetPlayerSpell(INDEX NUMBER, SPELL SLOT)-Gets the spell number for the spell in a spell slotExample: MyVar = GetPlayerSpell(index, 2)SetPlayerSpell(INDEX NUMBER, SPELL SLOT, SPELL NUMBER)-Sets the spell number for the spell in a spell slotExample: Call SetPlayerSpell(index, 3, 7)GetPlayerArmorSlot(INDEX NUMBER)-Gets the slot number for the armor which the player is wearingExample: MyVar = GetPlayerArmorSlot(index)SetPlayerArmorSlot(INDEX NUMBER, INVENTORY SLOT)-Sets the armor the player is wearing to the armor in an inventory slotExample: Call SetPlayerArmorSlot(index, 3)GetPlayerWeaponSlot(INDEX NUMBER)-Gets the slot number for the weapon which the player is weildingExample: MyVar = GetPlayerWeapon Slot(index)SetPlayerWeaponSlot(INDEX NUMBER, INVENTORY SLOT)-Sets the weapon the player is weilding to the weapon in an inventory slotExample: Call SetPlayerWeaponSlot(index, 9)GetPlayerHelmetSlot(INDEX NUMBER)-Gets the slot number for the helmet which the player is wearingExample: MyVar = GetPlayerHelmetSlot(index)SetPlayerHelmetSlot(INDEX NUMBER, INVENTORY SLOT)-Sets the helmet the player is wearing to the helmet in an inventory slotExample: Call SetPlayerHelmetSlot(index, 10)GetPlayerShieldSlot(INDEX NUMBER)-Gets the slot number for the sheild the player is weildingExample: MyVar = GetPlayerShieldSlot(index)SetPlayerShieldSlot(INDEX NUMBER, INVENTORY SLOT)-Sets the shield the player is weilding to the shield in an inventory slotExample: Call SetPlayerShieldSlot(index, 14)GetBootMap(INDEX NUMBER)-Gets the boot map for the playerExample: MyVar = GetBootMap(index)PlayerMapDropItem(INDEX NUMBER, INVENTORY SLOT, AMOUNT)-Causes a player to drop "AMOUNT" of the item in an inventory slotExample: Call PlayerMapDropItem(index, 5, 60)SpawnItemSlot()-Unsure of exact useExample:IsConnected(INDEX NUMBER)-Returns "True" if the player is connected and "False" if they are notExample: MyVar = IsConnected(index)IsPlaying(INDEX NUMBER)-Returns "True" if the player is playing and "False" if they are notExample: MyVar = IsPlaying(index)SendInventoryUpdate(INDEX NUMBER, INVENTORY SLOT)-Sends an update to the player's client for an inventory slotExample: Call SendInventoryUpdate(index, 12)SendWornEquipment(INDEX NUMBER)-Sends an update to the player's client for the equiptment the player is wearingExample: Call SendWornEquipment(index)SendHP(INDEX NUMBER)-Sends an update to the player's client for the player's HPExample: Call SendHP(index)SendMP(INDEX NUMBER)-Sends an update to the player's client for the player's MPExample: Call SendMP(index)SendSP(INDEX NUMBER)-Sends an update to the player's client for the player's SPExample: Call SendSP(index)SendStats(INDEX NUMBER)-Sends an update to the player's client for the player's StatsExample: Call SendStats(index)Flash(INDEX NUMBER, "FLASH FILE")-Plays a Flash movie for a player, can be a local file or a web address.Example: Call Flash(index, "http://www.yoursite.com/intro.swf")Prompt(INDEX NUMBER, "QUESTION", SCRIPT NUMBER TO RUN)-Displays a "Yes/No" prompt for a playerExample: Call Prompt(index, "Do you want a cookie?", 9)PlaySound(INDEX NUMBER, "SOUND FILE")-Plays a sound for a playerExample: Call PlaySound(index, "Shriek.wav")SendPlayerData(INDEX NUMBER)-Sends an update of player data to all players on a map for a specific playerExample: Call SendPlayerData(index)SendDataTo(INDEX NUMBER, "DATA")-Sends raw data to a player's clientSendDataToAll("DATA")-Sends raw data to all players' clientsSendDataToAllBut(INDEX NUMBER, "DATA")-Sends raw data to all players' clients except for the specified playerSendDataToMap(MAP NUMBER, "DATA")-Sends raw data to all players' clients on a specific mapSendDataToMapBut(INDEX NUMBER, MAP NUMBER, "DATA")-Sends raw data to all players' clients on a specific map except for the specified playerQuestionsIf you have any questions or thoughts please visit the forum at: www.touchofdeath.tk. Someone there will be more then happy to help you!New Features.Scripted NPC'sScripted Item'sScripted Spell'sPlayer HousingMenu Music96 x 96 Spell Animation'sPotions can change up to 10000 HP/MP.OnAttack Script runs whenever players attack.HotScript runs whenever a player presses delete.Paperdoll and Non-Paperdoll in the same version.Sell Item's Fixed And improved32 x 64 Sprite Option ( paperdolled )Unlearn spell buttonElementsStackable PotionsSwear FilterNew Item Slots ( Ring, Amulet, Legs, )TimersMuch more !``` 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