Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ariel

Members
  • Posts

    209
  • Joined

  • Last visited

    Never

Everything posted by Ariel

  1. He told me that i have a blank row in the sprite, it already worked in csde….
  2. thous worked perfectly in csde. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png) where in the code the game choose the width and height to cut from? Have you manage to delete the maps with out running into errors?
  3. This is not **3 frame movement csde like mate ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png)** its not working with this sprite when in csde it worked. ![](http://i.imgur.com/1UbM0.png) I cant also Delete the map without running into errors:\
  4. Lol i have this problem too, only with maps. Its started when i hard-remove all my maps from the folder, since then, i keep get subscript out of range and this error that you have. fishy
  5. > thats no real help, nobody would want to re-do 50+ maps because of a bug, he asked for a fix not a work around. Then he sould try running a clean copy first, if the problem stops, then he need to look on a way around deleting the maps. Deathbeam I PMed you ![:o](http://www.touchofdeathforums.com/community/public/style_emoticons//ohmy.png)
  6. Should not take long, i just need to get my last project up to date with eo ver first.
  7. > Although I understand both points of this argument, you cannot force crzy the hated to remove the code blocks from his post and we will not take action to do so. > > On a personal note, I don't believe this is the best way to make people read tutorials, especially since the syntax highlighter defeats your point. Maybe add comments explaining your code, or do a line-by-line explanation instead of a single code block. I never told him to remove it ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons//wink.png) just said my point of view. lol.
  8. > I think there is just Guild and Quest system missing for a default engine no? ^^ Then add them ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons//tongue.png)
  9. > That is retarded. You will have many people down the line bitching about it not working because they lack the mentality to read tutorials. Its been proven. All you have done here is waste your time with nonsense of screwing something up. > > So for those who skimmed it and just copied and past it here is the completed work. It should contain all the spelling mistakes… > > ``` > Public Sub CheckLockUnlockServer() > > Dim p As Long, a As Byte > > ' Change this number to change the amount of people it requires to induce unlocking/locking! > > a = 4 > > ' First, we check how much we have online. > > p = TotalPlayersOnline > > ' Next, we check > > If p >= a Then ' In this case, we can unlock the server, as enough are online! > > CPSUnlock = True > > Else ' But here, there's less than the amount wanted, so, lock it and save up. > > CPSUnlock = False > > End If > > End Sub > ``` What is wrong with you, there is nothing bad with what he done… that is to make people read, so the ones that wont will post that they have errors and will be answer with "Read" so they will learn... this is his way to make them learn why spoilering it?
  10. Yes, I talk about the mainmenu if i wasnt clear. @Helladen, ill add you.
  11. look at the Class.ini your class might already learn on creation.
  12. :[ For knowing only, how much you think you will charge?
  13. I want it to be cs:de menu, with all the faders ETC, about the size ill tell the one who is doing it the size of my game. Are you up to this? how much are you charging?
  14. lol its my mistake you can edit it to be "script". And i know it isnt actual scripting but i have no idea how else to call it. @niffler, Im not sure you should add Items and Maps yet I added them from my head and didnt tested them yet. If you do, let me know the result.
  15. Hey ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png) I would like to buy a service from someone. The job is to add the menu from cs:de to the latest Eclipse adventure. Shouldn't take more then 30 min… I would do that myself if I had time. Please name your price and we will negotiate. Ariel.
  16. Then how should i call it? ^^
  17. ![](http://www.freemmorpgmaker.com/files/imagehost/pics/4112e05c11826d11dc3e3c1a63b4fcae.png) **What is Script System** Script System allow you to make custom Npcs, Items, Maps, ETC actions. ex: I want to make a Npc that will warp me to a certain map if i have a certain item. This is an example of an action that can be made using Scripts. Cool idea: Combine this with Party Only Map, Scripted maps and NPCs and you can make a nice enjoyable Party Quest. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png) **Todo** Finish up the Item and Map. Im too lazy right now . **Requirement** Any Ver. of EO. 10 minutes. Common human brain ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons//wink.png) Visual basic 6. **Guidelines** Make a Back up. Open the server source files. Right click on modules > Add > Module ![](http://www.freemmorpgmaker.com/files/imagehost/pics/6a625b7e7c345a090f4b438c5647d4ad.png) Name it: modScripts (To name it click it and change name in Properties Window) Paste This inside of the new mod: ``` Option Explicit Public Sub npcScirpt(ByVal scriptnum As Long, ByVal player As Long) Select Case scriptnum Case 0 'do nothing Case 1 PlayerMsg player, "Scripted NPC", Red 'do nothing End Select End Sub Public Sub ItemScirpt(ByVal scriptnum As Long, ByVal player As Long) Select Case scriptnum Case 0 'do nothing Case 1 PlayerMsg player, "Scripted Item", Red 'do nothing End Select End Sub Public Sub MapScirpt(ByVal scriptnum As Long, ByVal player As Long) Select Case scriptnum Case 0 'do nothin Case 1 PlayerMsg player, "Scripted Map", Red End Select End Sub ``` Open modTypes What are "Types": Variables of different data types when combined as a single variable to hold several related informations is called a User-Defined data type. And this is the main way eclipse handle the data in game. Find: NpcRec Inside the type add to the bottom: ``` 'Script NPC Script As Long ``` Find: ItemRec Inside the type add to the bottom: ``` 'Script NPC Script As Long ``` Find: MapRec Inside the type add to the bottom: ``` 'Script NPC Script As Long ``` Do the same in modTypes that inside the Client. This Part can be different in some EO ver.(I'm using EO3.0) Open modCombat Find sub CanPlayerAttackNpc And Above: ``` If Len(Trim$(NPC(npcNum).AttackSay)) > 0 Then ``` If you cant find it, try to understand where the code is executing the npc action and past it there. Add: ``` 'Script npc If NPC(npcNum).Script > 0 Then npcScirpt NPC(npcNum).Script, attacker End If ``` This lines will check if a npc have a script, and trigger it. Find sub PlayerWarp Add below: ``` TempPlayer(Index).GettingMap = YES ``` This: ``` If Map(mapNum).Script > 0 Then Call MapScirpt(Map(mapNum).Script, Index) End If ``` Find sub UseItem Add after: ``` Select Case Item(itemNum).Type ``` This: ``` Case ITEM_TYPE_NONE If Item(itemNum).Script > 0 Then Call ItemScript(Item(itemNum).Script, Index) End If ``` Server side is done. Save and debug it. Open Client Source code. Make sure you added the Type at the first to the client also. Open frmEditor_NPC Add one Scroll bar and one label. Scroll bar name: scrlScript Label name: lblScript Place them wherever you want in the form, double click scrlScript and Paste that inside: ``` 'Script NPC lblScript.Caption = scrlScript.Value NPC(EditorIndex).Script = scrlScript.Value ``` This will add the script to the npc Type. You need to do that to the Map Properties and item editors. DONT FORGET TO CHANGE **NPC**(EDITORINDEX) TO THE TYPE YOU ARE EDITING! Find sub NpcEditorInit After: ``` .txtLevel.Text = NPC(EditorIndex).Level ``` Add: ``` 'NPC Script .scrlScript.Value = NPC(EditorIndex).Script ``` Find sub ItemEditorInit above: ``` If frmEditor_Item.cmbType.ListIndex = ITEM_TYPE_CONSUME Then ``` Add: ``` If frmEditor_Item.cmbType.ListIndex = ITEM_TYPE_NONE Then frmEditor_Item.scrlScript.visible = True frmEditor_Item.lblScript.visible = True frmEditor_Item.scrlScript.Value = .Script End If ``` Find ``` .BossNpc = scrlBoss.Value ``` Add after: ``` .Script = scrlScript.Value ``` Find: ``` .scrlFogBlending.Value = Map.FogBlendMode ``` Add: ``` .scrlScript.Value = Map.Script ``` Save and debug. Make a new NPC with Script choose Script 1… When you try to talk with him(or attack) he should Tell you: "Scripted NPC" Not telling? Start again. Still not telling? Post a replay. **How to add a new Script** Open modScripts You see there "End Select"? Above this you add "Case x" x= the next case in the sub. Now after you made a new case, add some method to it. You can: Warp- ``` Call PlayerWarp(player, 1, 1, 1) ``` Add Stat- ``` Call SetPlayerStat(player, Strength, GetPlayerStat(player, Strength) + 5) ``` Send MSG- ``` Call PlayerMsg(player, "Hello I am a Scripted NPC", Yellow) ``` You can add "If" checks and "for" loops so you can pretty much make it do anything. Yes its that easy. Have fun! _Please reply if you find bugs and Like if you use. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png)_
  18. Cool:) Any language is allowed right?
  19. Wow thanks ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png)
  20. Ariel

    Holy Duck.

    Holy ducking duck WTF: [http://www.youtube.com/watch?v=K4ml1QRGPEg](http://www.youtube.com/watch?v=K4ml1QRGPEg) (No youtube BBcode?)
  21. Ariel

    New Site

    Nice job ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png)
×
×
  • Create New...