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

Dastyruck

Members
  • Posts

    128
  • Joined

  • Last visited

    Never

Everything posted by Dastyruck

  1. I need help with this sub I just wrote… I am currently testing the way it gets data from the ini file. It is not working, so I assume it is some error made by me with checking the .ini file. I want it to check inside the folder named houses for the ini file which is the number that is put in when I call the sub. I dont think it is finding it right now, any help? ``` Sub GenerateHouse(index, number) Dim mapa Dim mapb Dim type Dim extra mapa = GetVar("houses\"number".ini","A","Number") mapb = GetVar("houses\"number".ini","B","Number") type = GetVar("houses\"number".ini","A","Type") extra = GetVar("houses\"number".ini","B","Extra") If type = 1 Then Call SetTile(mapa,5,5,15,3,1,1) Else If type = 2 Then Call SetTile(mapa,5,5,16,3,1,1) Else Call SetTile(mapa,5,5,17,3,1,1) End If If extra = 1 Then Call SetTile(mapb,5,5,15,3,1,1) Else If extra = 2 Then Call SetTile(mapb,5,5,16,3,1,1) Else Call SetTile(mapb,5,5,17,3,1,1) End If End Sub ```
  2. I am not the best scripter, but I assume you need to exit sub after each case.
  3. well, I reccomend not using them but, like if you have a house and a player walks into the house, any roof tile with the same number will hide itslef on that map, making it so you can see into the building, the numbers are just if you want like multiple buildings on one map or a second story of roofing on one house.
  4. ??, the numbers are the tiles… They are what I was trying to make, but it wont show up on any layer but ground...
  5. Sure… ![](http://dastyruck.webs.com/Tiles9.bmp)
  6. It only works on ground… http://rapidshare.com/files/173154478/Tiles9.bmp.html
  7. Well, it isnt really saving any files in the directory…
  8. So, like it gos to the mailsystem folder inside my server folder? or does it go to a mailsystem.ini inside my folder?
  9. So, what does this code do EXACTLY, I know that it puts a variable in a ini file, but what directory does it go to? Like Server/????/???.ini Call PutVar("mailsystem\" & GetPlayerName(index) & ".ini", "Info", "Class", GetPlayerClassName(index) & "")
  10. I get the same error, doing the same thing.
  11. I was able to come up with this, which isn't working, might be my error but if there is no error, this doesn't work. 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Sub HotScript(index, 1) '*****************************************************************' '*****************************************************************' 'XX This script has been created by Ilnair, aka Dinand Mentink XX' 'XX Please do not give it out saying you made it, or distribute XX' 'XX it anywhere outside the Eclipse forums! Also, please always XX' 'XX distribute these credits along with the script! XX' 'XX www.nishansu.tk ©Dinand Mentink (aka Ilnair)XX' '*****************************************************************' '*****************************************************************' Dim Name Dim Guild Dim ClassName Dim Sex Dim Level Dim Strenght Dim Defence Dim Speed Dim Magic Dim HP Dim MP Dim MAXHP Dim MAXMP Dim msg1 Dim msg2 Dim msg3 Dim msg4 Dim msg5 Select Case script Case 1 Call CustomMenuShow(index, "mailsystem", "\GUI\CUSTOM\perkament.gif", 1) Call CustomMenuLabel(index, 1, "Character Info", 60, 30, 15, 0, 0, 400, 40) Call CustomMenuLabel(index, 2, "Messages", 315, 30, 15, 0, 0, 400, 40) Name = GetPlayerName(index) & "" Guild = GetPlayerGuild(index) & "" ClassName = GetPlayerClassName(index) & "" Level = GetPlayerLevel(index) & "" Strenght = GetPlayerStr(index) + 0 & "" Defence = GetPlayerDef(index) & "" Speed = GetPlayerSpeed(index) & "" Magic = GetPlayerMagi(index) + 0 & "" HP = GetPlayerHP(index) & "" MP = GetPlayerMP(index) & "" MAXHP = GetPlayerMaxHP(index) & "" MAXMP = GetPlayerMaxMP(index) & "" If GetPlayerGender(index) = 0 Then Sex = "Male" Else Sex = "Female" End If Call CustomMenuLabel(index, 3, "Name: " & Name, 85, 80, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 4, "Guild: " & Guild, 85, 90, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 5, "Class: " & ClassName, 85, 100, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 6, "Sex: " & Sex, 85, 110, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 7, "Level: " & Level, 85, 130, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 8, "Strenght: " & Strenght, 85, 140, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 9, "Defence: " & Defence, 85, 150, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 10, "Magic: " & Magic, 85, 160, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 11, "Speed: " & Speed, 85, 170, 10, 0, 0, 400, 40) msg1 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box1") msg2 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box2") msg3 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box3") msg4 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box4") msg5 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box5") Call CustomMenuLabel(index, 14, "Message 1: " & msg1, 300, 70, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 15, "Message 2: " & msg2, 300, 80, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 16, "Message 3: " & msg3, 300, 90, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 17, "Message 4: " & msg4, 300, 100, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 18, "Message 5: " & msg5, 300, 110, 10, 0, 0, 400, 40) Call CustomMenuLabel(index, 19, "Clear Inbox", 300, 140, 10, 0, 0, 100, 14) Call CustomMenuLabel(index, 12, "Refresh", 300, 150, 10, 0, 0, 100, 14) Call CustomMenuTextBox(index, 1, 180, 65, 235, "Enter a name!") Call CustomMenuTextBox(index, 2, 180, 65, 260, "Enter a message!") Exit Sub End Select End Sub
  12. Ummm, when your press PGup it activates the code inside of the sub…
  13. Sub HOTSCRIPT1(index) Does not work in 2.7, is there a replacement for it?
  14. Hotscript is what I meant, I am having trouble finding the replacement…
  15. Hey, I know that Hotscript does not work in 2.7, but is there a replacement for it?
  16. Dastyruck

    Ambardia in 3D

    I dont think that saying the name of another engine to inform others on what he is doing counts as advertiseing…
  17. Easy, have your map where you see the Building on the outside have a door attribute on the tile and have it go to some other map that will be made t look in-doorsy and that has the in-doors box checked on its properties.
  18. Dastyruck

    Ambardia in 3D

    OK, back on the topic… I am curious of what engine you are using, I have looked at a few in the past but I would like to know which engine you are using and if it is maybe worth getting?
  19. Could I make it so I have 2 servers running one game so I can have double the maps and double the NPC's?
  20. Dastyruck

    RTE-13

    When I try and start my server it gives me this error when it gets 75% done loading the classes. Here are the ini files; Class0.ini –-------------------------------------------------------------------- [CLASS] Name= Warrior MaleSprite= 1 FemaleSprite= 5 STR= 12 DEF= 5 SPEED= 3 MAGI= 0 MAP= 1 X= 9 Y= 0 Locked= 0 [CLASSCHANGE] AddStr= 0 AddDef= 0 AddSpeed= 0 AddMagi= 0 [STARTUP] Weapon= 0 Shield= 0 Armor= 0 Helmet= 0 [SKILLS] Skill1= 0 Skill2= 0 Skill3= 0 Skill4= 0 Skill5= 0 Skill6= 0 Skill7= 0 Skill8= 0 Skill9= 0 Skill10= 0 Skill11= 0 Skill12= 0 Skill13= 0 Skill14= 0 Skill15= 0 Skill16= 0 Skill18= 0 Skill19= 0 Skill20= 0 Skill21= 0 Skill22= 0 Skill23= 0 Skill24= 0 Skill25= 0 Skill26= 0 Skill27= 0 Skill28= 0 Skill29= 0 Skill30= 0 –-------------------------------------------------------------------- Class1 ---------------------------------------------------------------------- [CLASS] Name= Thief MaleSprite= 13 FemaleSprite= 16 STR= 12 DEF= 5 SPEED= 3 MAGI= 0 MAP= 1 X= 9 Y= 0 Locked= 0 [STARTUP] Weapon= 0 Shield= 0 Armor= 0 Helmet= 0 [SKILLS] Skill1= 0 Skill2= 0 Skill3= 0 Skill4= 0 Skill5= 0 Skill6= 0 Skill7= 0 Skill8= 0 Skill9= 0 Skill10= 0 Skill11= 0 Skill12= 0 Skill13= 0 Skill14= 0 Skill15= 0 Skill16= 0 Skill18= 0 Skill19= 0 Skill20= 0 Skill21= 0 Skill22= 0 Skill23= 0 Skill24= 0 Skill25= 0 Skill26= 0 Skill27= 0 Skill28= 0 Skill29= 0 Skill30= 0 –-------------------------------------------------------------------- Class2 ---------------------------------------------------------------------- [CLASS] Name= Magician MaleSprite= 1 FemaleSprite= 1 STR= 12 DEF= 5 SPEED= 3 MAGI= 0 MAP= 1 X= 9 Y= 0 Locked= 0 [STARTUP] Weapon= 0 Shield= 0 Armor= 0 Helmet= 0 [SKILLS] Skill1= 0 Skill2= 0 Skill3= 0 Skill4= 0 Skill5= 0 Skill6= 0 Skill7= 0 Skill8= 0 Skill9= 0 Skill10= 0 Skill11= 0 Skill12= 0 Skill13= 0 Skill14= 0 Skill15= 0 Skill16= 0 Skill18= 0 Skill19= 0 Skill20= 0 Skill21= 0 Skill22= 0 Skill23= 0 Skill24= 0 Skill25= 0 Skill26= 0 Skill27= 0 Skill28= 0 Skill29= 0 Skill30= 0 –-------------------------------------------------------------------- Class3 ---------------------------------------------------------------------- [CLASS] Name= Warrior MaleSprite= 1 FemaleSprite= 1 STR= 12 DEF= 5 SPEED= 3 MAGI= 0 MAP= 1 X= 9 Y= 0 Locked= 0 [STARTUP] Weapon= 0 Shield= 0 Armor= 0 Helmet= 0 [SKILLS] Skill1= 0 Skill2= 0 Skill3= 0 Skill4= 0 Skill5= 0 Skill6= 0 Skill7= 0 Skill8= 0 Skill9= 0 Skill10= 0 Skill11= 0 Skill12= 0 Skill13= 0 Skill14= 0 Skill15= 0 Skill16= 0 Skill18= 0 Skill19= 0 Skill20= 0 Skill21= 0 Skill22= 0 Skill23= 0 Skill24= 0 Skill25= 0 Skill26= 0 Skill27= 0 Skill28= 0 Skill29= 0 Skill30= 0 –-------------------------------------------------------------------- Info ---------------------------------------------------------------------- [INFO] MaxClasses= 4 MaxSkills= 25 StatPoints= 0 SkillPoints= 0 –-------------------------------------------------------------------- Ok thats it... Can someone help me????
  21. paperdoll sheets with just plain hair for characters… does anyone know of any? or could someone make one?
×
×
  • Create New...