Zopto Posted March 24, 2012 Share Posted March 24, 2012 how to make to i mast pay exemple 1000 coins(gold) when i put /Create guild Link to comment Share on other sites More sharing options...
wyvern640 Posted March 24, 2012 Share Posted March 24, 2012 Problem Solved! Thanks for trying to help me Erwin! I just had deleted all the accounts :D Link to comment Share on other sites More sharing options...
wyvern640 Posted March 24, 2012 Share Posted March 24, 2012 Can i add a system on it that players just create guild if they has 10000 Golds on inventory?Like this system i created and think it works, but where i add this code for players just create if they have money?–----------------------------------------------If HasItem(index, 1) ThenCall TakeInvItem(index, 1, 1)ElseSendPlayerMsG(MyIndex) = "You dont have money to create guild" Link to comment Share on other sites More sharing options...
MeteorRain Posted March 24, 2012 Share Posted March 24, 2012 My client crashes, appcrash, after I made a guild. And now everytime i login with that account the client crashes. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted March 24, 2012 Share Posted March 24, 2012 @Meteor:> My client crashes, appcrash, after I made a guild. And now everytime i login with that account the client crashes.That's what was happening to me. Link to comment Share on other sites More sharing options...
Scott Posted March 24, 2012 Author Share Posted March 24, 2012 @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. Link to comment Share on other sites More sharing options...
MeteorRain Posted March 24, 2012 Share Posted March 24, 2012 First it crashed when starting the client. Then after I deleted the accounts and maps, I could run it.But when I typed /guild make nameThe exact moment I pressed enter the client crashed, and now I can't login with that account or any other account. It crashes when I do so.It worked again though after I deleted the guild file.I have Windows 7 64 bit. Link to comment Share on other sites More sharing options...
Scott Posted March 24, 2012 Author Share Posted March 24, 2012 What server are you using Eo 2.0? Link to comment Share on other sites More sharing options...
Zopto Posted March 24, 2012 Share Posted March 24, 2012 @wyvern640:> Can i add a system on it that players just create guild if they has 10000 Golds on inventory?> Like this system i created and think it works, but where i add this code for players just create if they have money?> > –----------------------------------------------> If HasItem(index, 1) Then> Call TakeInvItem(index, 1, 1)> Else> SendPlayerMsG(MyIndex) = "You dont have money to create guild"yea that also neeed me xD Link to comment Share on other sites More sharing options...
MeteorRain Posted March 24, 2012 Share Posted March 24, 2012 @Scott eo2 Link to comment Share on other sites More sharing options...
Scott Posted March 24, 2012 Author Share Posted March 24, 2012 @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 guildIn **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. Link to comment Share on other sites More sharing options...
Growlith1223 Posted March 25, 2012 Share Posted March 25, 2012 hey i found a minor error.When you click on save options, it just resets the options :SI honestly have no idea why it's doing that. Link to comment Share on other sites More sharing options...
Justn Posted March 25, 2012 Share Posted March 25, 2012 Wierd doesn't do it for me… Do u mean the ranks and such? Link to comment Share on other sites More sharing options...
Growlith1223 Posted March 25, 2012 Share Posted March 25, 2012 no, i mean the options area to change the motd and color and etc.EDIT: It only seems to reset the color of guild combo box :S Link to comment Share on other sites More sharing options...
Justn Posted March 25, 2012 Share Posted March 25, 2012 Yea I took that part out Scott said he's gonna fix it I believe :) Link to comment Share on other sites More sharing options...
Scott Posted March 25, 2012 Author Share Posted March 25, 2012 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. Link to comment Share on other sites More sharing options...
Zopto Posted March 25, 2012 Share Posted March 25, 2012 when i try to invent some 1 it send invent but when i went to accept it say to no 1 is online of that guid??????how to fix>??i use your finished guild system Link to comment Share on other sites More sharing options...
Zopto Posted March 25, 2012 Share Posted March 25, 2012 here is a picture[![](http://www.freeimagehosting.net/t/poxns.jpg)](http://www.freeimagehosting.net/poxns)i found problem'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, 5000this code block that when iremove it it work….what is wrong whit this code?? Link to comment Share on other sites More sharing options...
Scott Posted March 25, 2012 Author Share Posted March 25, 2012 **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 LongtmpGuildInviteSlot As LongtmpGuildInviteTimer As Long```Add:``` tmpGuildInviteId As Long```–----------------------------------------------------------In **Public Sub Request_Guild_Invite** Under:``` TempPlayer(index).tmpGuildInviteSlot = GuildSlot'2 minuteTempPlayer(index).tmpGuildInviteTimer = GetTickCount + 120000```Add:``` TempPlayer(index).tmpGuildInviteId = Player(Inviter_Index).GuildFileId```–----------------------------------------------------------In **Public Sub HandleGuildCommands** _**Replace**_:``` Case 6'acceptIf TempPlayer(index).tmpGuildInviteSlot > 0 ThenIf GuildData(TempPlayer(index).tmpGuildInviteSlot).In_Use = True And GuildData(TempPlayer(index).tmpGuildInviteSlot).Guild_Fileid = TempPlayer(index).tmpGuildInviteSlot ThenCall Join_Guild(index, TempPlayer(index).tmpGuildInviteSlot)TempPlayer(index).tmpGuildInviteSlot = 0TempPlayer(index).tmpGuildInviteTimer = 0ElsePlayerMsg index, "No one from this guild is online any more, please ask for a new invite.", BrightRedEnd IfElsePlayerMsg index, "You must get a guild invite to use this command.", BrightRedEnd IfCase 7'declineIf TempPlayer(index).tmpGuildInviteSlot > 0 ThenTempPlayer(index).tmpGuildInviteSlot = 0TempPlayer(index).tmpGuildInviteTimer = 0PlayerMsg index, "You declined the guild invite.", BrightRedElsePlayerMsg index, "You must get a guild invite to use this command.", BrightRedEnd If```With:``` Case 6'acceptIf TempPlayer(index).tmpGuildInviteSlot > 0 ThenIf GuildData(TempPlayer(index).tmpGuildInviteSlot).In_Use = True And GuildData(TempPlayer(index).tmpGuildInviteSlot).Guild_Fileid = TempPlayer(index).tmpGuildInviteId ThenCall Join_Guild(index, TempPlayer(index).tmpGuildInviteSlot)TempPlayer(index).tmpGuildInviteSlot = 0TempPlayer(index).tmpGuildInviteTimer = 0TempPlayer(index).tmpGuildInviteId = 0ElsePlayerMsg index, "No one from this guild is online any more, please ask for a new invite.", BrightRedEnd IfElsePlayerMsg index, "You must get a guild invite to use this command.", BrightRedEnd IfCase 7'declineIf TempPlayer(index).tmpGuildInviteSlot > 0 ThenTempPlayer(index).tmpGuildInviteSlot = 0TempPlayer(index).tmpGuildInviteTimer = 0TempPlayer(index).tmpGuildInviteId = 0PlayerMsg index, "You declined the guild invite.", BrightRedElsePlayerMsg index, "You must get a guild invite to use this command.", BrightRedEnd 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. Link to comment Share on other sites More sharing options...
Zopto Posted March 25, 2012 Share Posted March 25, 2012 yea that fix all things ty man sooooo much!!!!i hope i help litl about this xD Link to comment Share on other sites More sharing options...
Whackeddie99 Posted March 25, 2012 Share Posted March 25, 2012 Thanks scott, this is what I wanted from the beginning when I asked for help. Sorry about our mishap glad to see this resolved. Link to comment Share on other sites More sharing options...
Scott Posted March 25, 2012 Author Share Posted March 25, 2012 @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. Link to comment Share on other sites More sharing options...
Zopto Posted March 25, 2012 Share Posted March 25, 2012 heheh xD i am glad to you know how to fix all ^^ Link to comment Share on other sites More sharing options...
wyvern640 Posted March 25, 2012 Share Posted March 25, 2012 Thx scoth I love you and your system!Hey, can you fix the Colors of guild? it doesnt works! Link to comment Share on other sites More sharing options...
Scott Posted March 29, 2012 Author Share Posted March 29, 2012 I've been very busy I mostly reply from my iPad, but I do plan on fixing those issues soon within the next week I hope but don't hold me to it. If any major bugs come up I will make time for it like the last, the color is not a major bug so it can wait till I have more time to just do all the changes/minor bugs I want. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now