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

Justn

Members
  • Posts

    1129
  • Joined

  • Last visited

    Never

Everything posted by Justn

  1. Can u give me an example of one that should be private so I have an idea of what needs to be changed?
  2. Geez dude have a little patients u expect instant answers on all of ur numerous issues.. can u post a screenshot of the quest.editor with that quest that doesn't work.for u pulled up including each step? I'm sure u just made a mistake
  3. > Now fix about half the subs in the server & client by using public or private based on how they are used. Rather then just Sub which is currently used. Hmm I never thought of that.. what's bad about the current way they are?
  4. Here is the file if anyone needs it
  5. Ok here is a little update for this tutorial.. Add this to the bottom of ServerTCP: ``` Sub SendGameTimeTo(ByVal Index As Long) Dim Buffer As clsBuffer Set Buffer = New clsBuffer Buffer.WriteLong SSendTime If DayTime = True Then Buffer.WriteLong 1 Else Buffer.WriteLong 0 End If SendDataTo Index, Buffer.ToArray() Set Buffer = Nothing End Sub ``` Next in modPlayer in Sub JoinGame find: ``` Call SendGameTime ``` And change it to: ``` Call SendGameTimeTo(Index) ``` This will only send the game time to the player that logs on and not everyone like before. Done… **OPTIONAL** Here is a cool addon that will allow you to set whether an npc spawns during the day, night, or both. First find this in sub UpdateMapLogic: ``` ' ////////////////////////////////////// ' // This is used for spawning an NPC // ' ////////////////////////////////////// ``` Change that whole part down to End Sub to this: ``` ' ////////////////////////////////////// ' // This is used for spawning an NPC // ' ////////////////////////////////////// ' Check if we are supposed to spawn an npc or not If MapNpc(mapnum).NPC(x).Num = 0 And Map(mapnum).NPC(x) > 0 Then If TickCount > MapNpc(mapnum).NPC(x).SpawnWait + (NPC(Map(mapnum).NPC(x)).SpawnSecs * 1000) Then ' See if we are using the day/night system. If we are act accordinly, otherwise just spawn the mob If Options.DayNight = 1 Then ' Check for gametime, this is an addition in 1.4.2\. We're only ' spawning NPCs that are allowed to spawn in the current time ' of the day. If DayTime = True And NPC(Map(mapnum).NPC(x)).SpawnAtDay = 1 Then Call SpawnNpc(x, mapnum) ElseIf DayTime = False And NPC(Map(mapnum).NPC(x)).SpawnAtNight = 1 Then Call SpawnNpc(x, mapnum) End If Else ' Not using Day/Night, so just spawn it regardless. Call SpawnNpc(x, mapnum) End If End If End If ' Despawn mobs if the day/night system is active. If Options.DayNight = 1 Then ' Righto, let's see if we need to despawn an NPC until the time of the day changes. ' Ignore this if the NPC has a target. If MapNpc(mapnum).NPC(x).target = 0 And Map(mapnum).NPC(x) > 0 And Map(mapnum).NPC(x) KeyTimer + 15000 Then KeyTimer = GetTickCount End If End Sub ``` Next Find this sub : Sub SpawnMapNpcs Change the whole sub to this : ``` Sub SpawnMapNpcs(ByVal mapnum As Long) Dim i As Long For i = 1 To MAX_MAP_NPCS If Map(mapnum).NPC(i) > 0 And Map(mapnum).NPC(i)
  6. Ok updated the tutorial to include the missing form work also updated the download to include the full item editor form.
  7. Yes damian as being someone who got to test the dungeon generator I must say u could make a very cool game just with that.. and I really thought it would be slow to use but instantly it made a dungeon full of different sized rooms and multiple doors and dead ends and stuff… was really cool can't wait to see more
  8. Omg no.more sitting infront of my calculator.. thanks for sharing richy this is cool @Brandon: ~~gtfo~~ Would you kindly leave this topic good Sir?
  9. Downloading now.. if its anything like your previous version its gonna be epic! Thanks for taking so much time to complete it last couple of days
  10. Justn

    Event System Bug

    Hmm maybe i can look at robins conversation system for reference(probably just a tiny one) cause I never had that problem when using that system. Yes I know they are completely different.. thanks for posting this bug peavir and thanks for replying damian
  11. Cool just wondering cause I still have the old fix and wasn't sure.. will use this one instead
  12. Hmm there was already a fix posted for this and I thought Jc added it .to 2.3? Or is this a newer fix of the fix? Lol
  13. Justn

    Event System Bug

    I just don't understand why it opens more than one frame anyways what's the point of having that? I can see it just starting the conv over or something but why the new window.. :/ Not really directed towards u damian but just in general…
  14. Justn

    Event System Bug

    Oh ok that's makes sense
  15. Justn

    Event System Bug

    But why do u want to disable the ctrl button? I would hate to be attacked and have to go through a whole conversation with an npc to beable to turn around and attack someone
  16. U must of already had the creation tool combo box then lol Im adding it to the download and tut now
  17. Ah Wtf I had no idea it was ducked up like this.. im working fixing another tut atm give me a few mins and ill redo it.. if ur in a hurry look at the dx.8 remake of this tut and just leave out the dx8 stuff and add the other stuff from this one..
  18. U could just finish the instacast feature for items the form work and varibles are already there… The magic wall thing would be cool.. u mean like tibia?
  19. Yea I thought this was a bug too… Then after I fixed it awhile back i noticed that the sound plays when equipping a weapon or taking it off so I thought it was on purpose... Anyways u can also use sendmapsound if u want the whole map to here it.. I did it just for guns
  20. Cool what does it all do? I couldn't really tell from the code D:
  21. How would u prevent the multi client thing? The same way?
  22. Justn

    Event System Bug

    Umm yea this a huge bug.. thanks for pointing it out I just tried it and he is correct… We just need to make sure a player can only have one event panel open at a time.. I'm sure its easy to do I will try it now...
  23. Lol I guess nobody has tried to use this… While helping ganjika I realized I left out the tool requirement part of the form work making the tut useless.. will post it when I get home in a few
  24. Justn

    [EO2.x] Roof System

    > Could always set up a directional parameter for it. Say, if you walk OFF OF it facing direction x it switches off, and direction y switches it on. Gonna try this way bunny I would hate to make two tiles for something like this.. @jumbofile I will try but no promises… Shouldn't be too hard though
  25. Justn

    [EO2.x] Roof System

    Yea that's something I dont like.. I have been trying to make the threshold tile better to prevent this but haven't been able to do it like stien suggested.. easy fix would be to make a duplicate tile and just have one for visble and one for not visible :/ seems like a waste though
×
×
  • Create New...