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

Scott

Members
  • Posts

    428
  • Joined

  • Last visited

    Never

Everything posted by Scott

  1. Scott

    [EO 2.0/3.0] Guilds

    @Whack: > Thanks scott, this is what I wanted from the beginning when I asked for help. Sorry about our mishap glad to see this resolved. My bad also really was my fault lol, glad this helped both of you.
  2. Scott

    [EO 2.0/3.0] Guilds

    **This is now in the main tutorial, do not follow these steps unless you are told to by me!** Edit:Found what caused the error, my apologies give me a few mins to fix it. **This fix is a major bug and will cause issues for everyone who has this, I highly recommend you fix this. Unless your guildfileid and guildslot number match up you will not be able to join a guild. Since this is not likely to happen most guilds will be unable to invite new users.** **All Server Sided** In **Public Type TempPlayerRec** Under: ``` tmpGuildSlot As Long tmpGuildInviteSlot As Long tmpGuildInviteTimer As Long ``` Add: ``` tmpGuildInviteId As Long ``` –---------------------------------------------------------- In **Public Sub Request_Guild_Invite** Under: ``` TempPlayer(index).tmpGuildInviteSlot = GuildSlot '2 minute TempPlayer(index).tmpGuildInviteTimer = GetTickCount + 120000 ``` Add: ``` TempPlayer(index).tmpGuildInviteId = Player(Inviter_Index).GuildFileId ``` –---------------------------------------------------------- In **Public Sub HandleGuildCommands** _**Replace**_: ``` Case 6 'accept If TempPlayer(index).tmpGuildInviteSlot > 0 Then If GuildData(TempPlayer(index).tmpGuildInviteSlot).In_Use = True And GuildData(TempPlayer(index).tmpGuildInviteSlot).Guild_Fileid = TempPlayer(index).tmpGuildInviteSlot Then Call Join_Guild(index, TempPlayer(index).tmpGuildInviteSlot) TempPlayer(index).tmpGuildInviteSlot = 0 TempPlayer(index).tmpGuildInviteTimer = 0 Else PlayerMsg index, "No one from this guild is online any more, please ask for a new invite.", BrightRed End If Else PlayerMsg index, "You must get a guild invite to use this command.", BrightRed End If Case 7 'decline If TempPlayer(index).tmpGuildInviteSlot > 0 Then TempPlayer(index).tmpGuildInviteSlot = 0 TempPlayer(index).tmpGuildInviteTimer = 0 PlayerMsg index, "You declined the guild invite.", BrightRed Else PlayerMsg index, "You must get a guild invite to use this command.", BrightRed End If ``` With: ``` Case 6 'accept If TempPlayer(index).tmpGuildInviteSlot > 0 Then If GuildData(TempPlayer(index).tmpGuildInviteSlot).In_Use = True And GuildData(TempPlayer(index).tmpGuildInviteSlot).Guild_Fileid = TempPlayer(index).tmpGuildInviteId Then Call Join_Guild(index, TempPlayer(index).tmpGuildInviteSlot) TempPlayer(index).tmpGuildInviteSlot = 0 TempPlayer(index).tmpGuildInviteTimer = 0 TempPlayer(index).tmpGuildInviteId = 0 Else PlayerMsg index, "No one from this guild is online any more, please ask for a new invite.", BrightRed End If Else PlayerMsg index, "You must get a guild invite to use this command.", BrightRed End If Case 7 'decline If TempPlayer(index).tmpGuildInviteSlot > 0 Then TempPlayer(index).tmpGuildInviteSlot = 0 TempPlayer(index).tmpGuildInviteTimer = 0 TempPlayer(index).tmpGuildInviteId = 0 PlayerMsg index, "You declined the guild invite.", BrightRed Else PlayerMsg index, "You must get a guild invite to use this command.", BrightRed End If ``` Let me know if this fixes your problem, the problem was caused by some changed I made to how some variables where used and my terrible memory.
  3. Scott

    [EO 2.0/3.0] Guilds

    I have not forgotten, a good friend of mine I have not seen in a very long time came back to town so I've been catching up I'll be back to developing again soon.
  4. Scott

    [EO 2.0/3.0] Guilds

    @Meteor Rain Try to re-install it, if that does not work zip the server/client and send it to me I'm curious to get to the bottom of the problem. @Cost for guild In **Sub MakeGuild** after: ``` If Name = "" Then PlayerMsg Founder_Index, "Your guild needs a name!", BrightRed Exit Sub End If ``` Add: ``` 'Change 1 to item number itemamount = HasItem(Founder_Index, 1) 'Change 5000 to amount If itemamount = 0 Or itemamount < 5000 Then PlayerMsg Founder_Index, "Not enough Gold.", BrightRed Exit Sub End If 'Change 1 to item number 5000 to amount TakeInvItem Founder_Index, 1, 5000 ``` –-------------------------------------------------- Under: ``` Dim tmpGuild As GuildRec Dim GuildSlot As Long Dim GuildFileId As Long Dim i As Integer Dim b As Integer ``` Add: ``` Dim itemamount As Long ``` Ripped almost straight from **Sub HandleBuyItem**, tested works fine.
  5. Scott

    [EO 2.0/3.0] Guilds

    What server are you using Eo 2.0?
  6. Scott

    [EO 2.0/3.0] Guilds

    @Meteor: > My client crashes, appcrash, after I made a guild. And now everytime i login with that account the client crashes. Need more information than that, what engine where you using? You need to delete accounts that where made before you installed the Guild system.
  7. Scott

    Mute Player!

    ``` If Player(index).isMuted Then PlayerMsg index, "You have been muted and cannot talk in global.", BrightRed Exit Sub End If ``` You just need to add that same block of code to all the handlemsg subs server side easy.
  8. Justn is exactly right you need to copy and paste the controls(label/slider ect…) from this tutorials frmEditor_NPC to the one from altars system, you will then need to find all the snippets of code that make those controls work and transfer those as well. They will all be named after the controls you transferred so it should be pretty easy let me know if you need any more help.
  9. @Justn: > did you delete your npcs .dat files out of your "server/data/npcs/" folder?
  10. Scott

    [EO 2.0/3.0] Guilds

    ``` If GetPlayerSprite(Index) < 1 Or GetPlayerSprite(Index) > NumCharacters Then TextY = ConvertMapY(GetPlayerY(Index) * PIC_Y) + Player(Index).YOffset - 16 'Guild TUT ----> Text2Y = ConvertMapY(GetPlayerY(Index) * PIC_Y) + Player(Index).YOffset Else ' Determine location for text TextY = ConvertMapY(GetPlayerY(Index) * PIC_Y) + Player(Index).YOffset - (DDSD_Character(GetPlayerSprite(Index)).lHeight / 4) + 16 'Guild TUT ----> Text2Y = ConvertMapY(GetPlayerY(Index) * PIC_Y) + Player(Index).YOffset - (DDSD_Character(GetPlayerSprite(Index)).lHeight / 4) + 4 End If ``` The 2 lines with the –--> next to them allow you to change the y(vertical) height of the guild name.
  11. Well considering you moved from petattacknpc to playerattacknpc the variable changed try looking around for clues you don't have to be good at coding, in that sub it is npcNum not victim. It tells you exactly what is wrong, in this case variable not defined this means that the variable does not exist and how can you use something that does not exist?
  12. Scott

    [EO 2.0/3.0] Guilds

    Try re-installing it, I have not come across this problem after testing. There must be 1 person from the guild must be online for them to be able to join the guild.
  13. Scott

    [EO 2.0/3.0] Guilds

    @Wing♣: > He isn't implying anything. PVO only adds gravity, so the only way I can imagine it interfering is if there was something renamed in PVO that this tutorial uses. > You are jumping to conclusions by saying that Whack is blaming your tutorial. I can completely understand where you are coming from, but there's no need to call somebody else a retard based on your quick judgement. > Not saiyan you're a bad guy, I mean you're helping someone who you thought was intentionally pissing you off. You didn't get to see his post's a moderator removed… "I'll come backwhen your tutorial works" was 1 line from it. @Whack Does it look exactly like all the other ones do (Ie define buffer at top)
  14. I'm looking for more ideas, didn't get as many as I hoped in the first round. I plan to do all of them on the list at some point, as long as some one else does not beat me to it.
  15. Scott

    [EO 2.0/3.0] Guilds

    I'm more than happy to help, I'll download PVO later today and see whats causing the problem, but how could you not be implying my tutorial was at fault when you where trying to say that it was not a problem with PVO?
  16. Scott

    [EO 2.0/3.0] Guilds

    @Whack: > Okay, but I'm 90 percent sure a custom engine that effects **how players move** doesn't have anything to do with a **guild rank error**. I'm at school but I'll try to look at it again when I get home. I'll show you the error I was getting before I edited the scrlvalue Well I'm 100 percent sure that no one else is having these problems, now I'm trying to be nice but I am losing patience with you. If your the only one with this problem and your the only one using PVO, **THERE IS SOMETHING WRONG WITH IT NOT MY TUTORIAL**… I have tested my tutorial on **EO 2.0** _**4 times now**_ with no problems, it works 100% as intended. Yes that means I took a fresh copy of **EO 2.0** the software this is intended for and made sure that my tutorial worked, I have had no problem every one of those 4 times with it. Just because the only visual difference in PVO is the walking style does not mean there is not a problem in the non-visual aspect of it, you know all the code that is needed to make it work? If you want to keep arguing with me about how it's my tutorials fault I will not help you, I do not support PVO but I was trying to be nice and look into your problem. **Stop being such a retard, I offered to help even though your such a stick…**
  17. Scott

    [EO 2.0/3.0] Guilds

    @Whack: > PVO doesn't have any effect on this. Now the problem is ive redone the tut, but I was getting an runtime error with scrlvalue and guildrank_recruit when making a guild. I temporarily fixed it by doing what I posted above, but I need your help @Justn: > Hmm works fine for me It appears to have an negative effect works fine for everyone but you… The tutorial works fine, I'm not sure what about PVO is causing the problem, but if your getting an error there make sure the Call Set_Default_Guild_Ranks is in the server start up code. When I get home ill look into it a little more, but be patient please.
  18. Scott

    [EO 2.0/3.0] Guilds

    @Whack: > EDIT: Fixed the problem! > > There seems to be an error with the frmGuildAdmin. scrlRecruits needs to have its Min set to 0 and value to 0, or else you will error! Why would you want scrlrecruits min to be 0? It hasto be set at 1 or higher anyways. **And a sidenote to you Whack, I do not support PVO in my releases so please don't bash my tutorial again because you can't get it to work in a custom version.** Guild Cost, I'll consider it since it is a pretty basic feature. Guild Name, Yes it's possible I'll consider doing this also. @Robin: > You'll end up being one of the best developers around, then. The only way to get good with game design is to surround yourself with talented people. I was never that good when I started, but I always helped other people when they needed it. In the end I learnt how to recognise errors without even reading the code. > > I met most of the developers I work with now through my early years as the forum's residential debugger. From them I learnt about all the other aspects of game design like graphics, feel and… well, design. Thank you again for all the encouragement, it's nice to know I'm on the right track. To people using this: I expect to release the bug fixes I have done so far on friday, as of now it is as simple as swapping 2 files and making a couple small edits to the client. Guild save files won't be affected so no need to hold off on using the tutorial.
  19. Scott

    [EO 2.0/3.0] Guilds

    @Robin: > I don't see why you couldn't have pulled together a GUI yourself even if no one did offer to help. > > As far as I remember the default EO GUI had a generic black box for these kinds of menus. You could even use GDI controls for it. I'm working hard to improve my self in this area, ever since I started working with eclipse this has become extremely apparent to me and is making work for me harder but I still was not happy with anything but those commands in the end. Maybe I'm just to picky? @Robin: > Still, seems like a solid system. I think you did right by keeping it simple. That's what a base system should do. Glad to know there are still other people around who are willing to work on things simply to release them. > > It's also rare for someone to develop a system that actually works as advertised. Keep it up. I'll keep an eye on your work. Thank you, I enjoy helping others develop games and this is a great way for me to bring that to more people. It does end up taking me awhile to release things because I do try to not sit in front of my computer everyday, but I do enjoy making them so I don't expect to stop anytime soon.
  20. Now that I'm done with the guild system I'm looking for something new to work on, so I'm looking for new suggestions.
  21. Scott

    [EO 2.0/3.0] Guilds

    **Guild Commands:** _Make Guild: /guild make To transfer founder status use /guild founder (name) Invite to Guild: /guild invite (name) Leave Guild: /guild leave Open Guild Admin: /guild admin Guild kick: /guild kick (name) **Guild disband: /guild disband yes** View Guild: /guild view (online/all/offline) ^Default is online, example: /guild view would display all online users. You can talk in guild chat with: ;Message_
  22. Scott

    [EO 2.0/3.0] Guilds

    I have plans to make something like that eventually but not any time soon.
  23. Scott

    [EO 2.0/3.0] Guilds

    @GoldSide: > hmmmm :? can you make the script for color guild name ? *above player name Yes, just realized that shortly before you said this. I'll release a version with fixes in a few days just in-case anymore issues come up.
  24. Scott

    [EO 2.0/3.0] Guilds

    It's kept simple for a reason, I don't know what the people who will use this want so its basics to build off. I had in mind easy expandability when I made this. As for the delete character portion, this is something I overlooked and will be adding but a user can just kick them for now, thanks for letting me know.
  25. Scott

    [EO 2.0/3.0] Guilds

    You can just try to find my changes above and replace the mod files, other than that you need to re-do it. Guild names: Yes that would be fine, the only reason it is limited to 1 word is because of the commands there is no code preventing spaces in guild names.
×
×
  • Create New...