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

Snoozey

Members
  • Posts

    75
  • Joined

  • Last visited

    Never

Snoozey's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hm, not sure if it is from this or something else. Added these mobs all from you and lightning http://www.touchofdeathforums.com/smf/index.php/topic,69521.0.html http://www.touchofdeathforums.com/smf2/index.php/topic,72517.new.html#new http://www.touchofdeathforums.com/smf2/index.php/topic,78655.0.html I keep getting error on sub petdisband in modgamelogic server side. PetMapCache(mapNum).Pet(Player(index).Pet.CNum) = 0 "subscript out of range" ``` 'Clear the npc from the map Sub PetDisband(ByVal index As Long, ByVal mapNum As Long) Dim i As Long Dim j As Long If TempPlayer(index).TempPetSlot < 1 Then Exit Sub 'Cache the Pets for players logging on [Remove Number from array] 'THIS IS KINDA SLOW (EVEN WITHOUT TESTING, LOL), MAY HAVE TO CONVERT TO LINKED LIST FOR SPEED PetMapCache(mapNum).Pet(Player(index).Pet.CNum) = 0 Call ClearSingleMapNpc(TempPlayer(index).TempPetSlot, mapNum) Map(GetPlayerMap(index)).NPC(TempPlayer(index).TempPetSlot) = 0 TempPlayer(index).TempPetSlot = 0 're-warp the players on the map For i = 1 To Player_HighIndex If IsPlaying(i) Then If GetPlayerMap(i) = GetPlayerMap(index) Then Call PlayerWarp(i, GetPlayerMap(i), GetPlayerX(i), GetPlayerY(i)) SendPlayerData index End If End If Next End Sub ``` This is the last mod added. It worked before this mod. I think I messed something up, but I am not sure where. Commenting out ``` PetMapCache(mapNum).Pet(Player(index).Pet.CNum) = 0 ``` Solves the crashing issue. What exactly does this do, and do I need it?
  2. Hm Pets can still attacks non pet npcs? Did I mess something up? If not how would I add a check to see if the target of the pet is a friendly,guard, or shopkeeper? My fix, it seems to work, but not really sure how well. Most likely you will need to fix this. I am using it as a temp until I figure out how to properly do it. The text does not display at all. ``` 'pet stuff If MapNpc(MapNum).NPC(Attacker).IsPet = YES Then If NPC(vNpcNum).Behaviour = NPC_BEHAVIOUR_FRIENDLY Or NPC(vNpcNum).Behaviour = NPC_BEHAVIOUR_SHOPKEEPER Or NPC(vNpcNum).Behaviour = NPC_BEHAVIOUR_GUARD Then Call PlayerMsg(petowner, "Can't attack friendly allies.", BrightRed) Exit Function ```
  3. So essentially I could look for the command /guild view copy the code for that. Make a new label and paste the code into there. Some minor changes, and it would show in chat correct in my thinking? Also how do you get it to line up so well in the box? Mine is always a little off, and I can't move it or it goes too far. On second thought how hard would it be to add a check box for online and all? Which allows you to click and change what you see. I am really new to VB would it be something a new person could do?
  4. Snoozey

    Default Buttons

    Is there anyway to get the default main buttons without the text and picture? Adding a few more buttons and would like to have them match. Tried Photoshopping, but I lost a lot of the borders. Edit: Finally made a good set.
  5. Is the gui suppose to show ALL guild members, or only those online? Mine is showing all, so I need to mess with it I think. Any Ideas what I did wrong? Also how do I line up the gui to fit into the window. Right now it overlaps a bit, and moving it always goes to far. Old issue which is fixed >! Small issue, I am sure it is my fault. Instead of a label I am doing a picture box. I have added my images, and am not receiving any errors however, when I press the button it opens up party instead of guild. >! I have increased the max buttons to 8 (Amount I need) >! I also added this ``` ' main - guild With MainButton(8) .fileName = "Guild" .state = 0 ' normal End With >! ``` I think the problem is .filename=guild , but I am very new and not really sure where I should look to correct this. Going to continue to work on the issue, but any help would be wonderful. >! ``` Case 8 'Guild picCharacter.Visible = False picInventory.Visible = False picSpells.Visible = False picParty.Visible = False picOptions.Visible = False picQuestLog.Visible = False picGuild.Visible = True PlaySound Sound_ButtonClick >! ``` Update: Changed my inventory button to false, and made guild true. This caused the same issue as my guild button. It seems the button is not triggering the visibility. >! Update2: Changin button 8 (my guild button) To show character instead of guild works correctly. Seems the issue is changing the visibility of picGuild. >! Stuck :/
  6. @Alatar: > Edit the "client\data files\graphics\gui\main\main.jpg" and add the proper graphic. I think I am misunderstanding. I have the "proper graphic" As in the ones you provided. However, that button is always missing until I hover over it, and then the graphic will stay. Is this intended? If so, where can I start looking on how to change it. Been looking with not much luck. Everything I look at says it is visable.
  7. The scaling can be changed in the server I do believe. To add a stamina bar you will need to edit the forms(I think)
  8. @LotSDesigner: > SO if they dont have an internet connection then they cant play as the same if I dont have one? If they don't have an internet connection then they can not play. You can only play with no internet because of what soul said.
  9. Problem with that is if you have ranged spells you can keep the npcs stuck. They will just stand at the avoid and get hit over and over.
  10. @Soul: > I don't believe msinet.ocx is included in the Eclipse Library Installer (because it isn't part of the "main package", so to speak). He'll have to register it manually. You would be correct. MSinet.ocx is not in the library installer as the actual engine does not use it. However, the auto updater does. I have had him install the msinet.ocx. It is in his windows 32 folder, and we tried doing the register via run. Still not picking it up.
  11. @deadwalkin: > no offense and this is not an insult but if you read his post he said it didnt work Correct he has the Library installer, and he has the msinet.ocx in system 32\. It is just not working. He can run the game fine, just not the updater.
  12. Appears to work :] If it breaks or I notice anything odd I will report back. Thanks again soul.
  13. @Joost: > Respawning the map as a solution for this will result in a broken as duck game. Imagine 3 elite NPC"s that can only be killed once every 24 hours. (Or once every hour, i dont care). You kill one, leave the map, all 3 respawn, you go back in, kill one, go out, all respawn. > > Or in examples where there are items on the map that are supposed to spawn every X minutes/hours you can just force the items to respawn. > > Making the monsters walk back would also require a lot of work. I was afraid of that, well it is out of my hands then. There is no way I could tweak AI :/
  14. @Zopto: > i think to he need to instal this http://www.touchofdeathforums.com/smf/index.php/topic,65854.0.html > Eclipse Origins Runtimes/Library files > that worked when my friend try to login in my game Already installed those. The auto updater does not use those DLLs those are for the game itself. Atleast that is what I understand.
  15. So I have the auto updater and it seems to work fine. I can update ect. Couple of my friends downloaded the game and the updater and everything works fine. However, one friend gets an error saying msinet.ocx is missing. So I do a little research and find he needs to place it in system 32, and then register it with regsvr32\. However it is still saying it is missing. Not quite sure how to fix it. Any ideas?
×
×
  • Create New...