kira423 Posted May 29, 2012 Share Posted May 29, 2012 >_< me = newb thanks Scott I am glad there are great people like you and all the other contributors and helpers in this community for stupid ppl like me lol Link to comment Share on other sites More sharing options...
tslusny Posted May 31, 2012 Author Share Posted May 31, 2012 @kira423:> I fixed the issue I was having, thanks Scott and Deathbeam for clarifying what I did wrong> > to get it working properly> > Server side find this in ModServerTCP> > ```> If Player(index).GuildFileId > 0 Then> Â Â Â Â If TempPlayer(index).TmpGuildSlot > 0 Then> Â Â Â Â Â Â Buffer.WriteByte 1> Â Â Â Â Â Â Buffer.WriteString GuildData(TempPlayer(index).TmpGuildSlot).Guild_Name> Â Â Â Â End If> Â Â Else> Â Â Â Â Buffer.WriteByte 0> Â Â End If> ```> under add> > ```> If Player(index).GuildFileId > 0 Then> Â Â Â Â If TempPlayer(index).TmpGuildSlot > 0 Then> Â Â Â Â Â Â Buffer.WriteByte 1> Â Â Â Â Â Â Buffer.WriteLong Player(index).GuildMemberId> Â Â Â Â End If> Â Â Else> Â Â Â Â Buffer.WriteByte 0> Â Â End If> ```> Save and compile> > then Client side find this in ModTypes> > ```> GuildName As String> ```> under add> > ```> GuildMemberId As Long> ```> in ModHandleData find> > ```> If Buffer.ReadByte = 1 Then> Â Â Â Â Player(i).GuildName = Buffer.ReadString> Â Â Else> Â Â Â Â Player(i).GuildName = vbNullString> Â Â End If> ```> under add> > ```> If Buffer.ReadByte = 1 Then> Â Â Â Â Player(i).GuildMemberId = Buffer.ReadLong> Â Â Else> Â Â Â Â Player(i).GuildMemberId = 0> Â Â End If> ```> Finally in ModGeneral find> > ```> If GuildData.Guild_Members(MyIndex).Rank > 5 Then> frmMain.lblGuildDisband.visible = True> Â Â Â Â Else> Â Â Â Â Â Â frmMain.lblGuildDisband.visible = False> Â Â Â Â End If> ```> and change to> > ```> Â Â Â Â If Player(MyIndex).GuildMemberId > 0 Then> Â Â If GuildData.Guild_Members(Player(MyIndex).GuildMemberId).Rank > 5 Then> Â Â Â Â Â Â frmMain.lblGuildDisband.visible = True> Â Â Â Â Else> Â Â Â Â Â Â frmMain.lblGuildDisband.visible = False> Â Â Â Â End If> Â Â Â Â End If> ```<â This implements what Scott said belowYeah i does same in my project but i dont have acces to internet on my pc now so i cant add that to tutorial, and i maked new buttons for opening admin panel and transfering founder, but i cant add them now to tutorial becouse of missing internet on my pc :cheesy:I will add what you posted to tutorial Link to comment Share on other sites More sharing options...
tslusny Posted May 31, 2012 Author Share Posted May 31, 2012 Working on Guild House System :cheesy: Link to comment Share on other sites More sharing options...
kira423 Posted June 1, 2012 Share Posted June 1, 2012 :o :o :o Please keep us updated on that one!! Link to comment Share on other sites More sharing options...
tslusny Posted June 2, 2012 Author Share Posted June 2, 2012 UPDATED :cheesy:Added 2 new buttons for:Promoting to Guild FounderOpening Admin Panel:PWORKING ON:Guild invite accept/decline like Trade Request accept/decline Link to comment Share on other sites More sharing options...
Prince Posted June 9, 2012 Share Posted June 9, 2012 I got highlight on(Variable Not Defined)" Select Case Language ". Link to comment Share on other sites More sharing options...
tslusny Posted June 10, 2012 Author Share Posted June 10, 2012 I forgot to remove my language select thingy from tutorial, i fixed it now just replace Public Sub UpdateGuildData() with that i fixed in tutorial Link to comment Share on other sites More sharing options...
Prince Posted June 10, 2012 Share Posted June 10, 2012 Highlight on .GuildMemberId Link to comment Share on other sites More sharing options...
tslusny Posted June 10, 2012 Author Share Posted June 10, 2012 Do thisthen Client side find this in ModTypesCode: [Select]GuildName As Stringunder addCode: [Select]GuildMemberId As Long Link to comment Share on other sites More sharing options...
Snoozey Posted June 20, 2012 Share Posted June 20, 2012 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 :/ Link to comment Share on other sites More sharing options...
tslusny Posted June 21, 2012 Author Share Posted June 21, 2012 Yea the gui is supposed to show all members, not just online, becouse there is kick button and you can kick with it from list too Link to comment Share on other sites More sharing options...
Snoozey Posted June 21, 2012 Share Posted June 21, 2012 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? Link to comment Share on other sites More sharing options...
tslusny Posted June 21, 2012 Author Share Posted June 21, 2012 @Snoozey:> 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.Something like that, i try to look at it and add it to tutorial but now im making my game so i dont have many time :P Link to comment Share on other sites More sharing options...
Domino_ Posted June 26, 2012 Share Posted June 26, 2012 Why is thereEnd Select in Public Sub UpdateGuildData() ? Cuz there is no select caseâĤ. I dont see it o.O :Dalso .lblGuildCDesc.Visible = False data member not found. So ... Its not needed and I deleted this with other .lblGuildCDesc. :D in updateguilddata Link to comment Share on other sites More sharing options...
tslusny Posted June 27, 2012 Author Share Posted June 27, 2012 @Domino_:> Why is there> End Select in Public Sub UpdateGuildData() ? Cuz there is no select caseâĤ. I dont see it o.O :D> also .lblGuildCDesc.Visible = False data member not found. So ... Its not needed and I deleted this with other .lblGuildCDesc. :D in updateguilddataYes srry for that i just forgot to remove some thing from code, that select case was for my language selection and GuildCDesc is just label that says this: Guild creation cost 5000 amethyst, becouse i added guild cost to my game :P Link to comment Share on other sites More sharing options...
DarkOne5890 Posted June 30, 2012 Share Posted June 30, 2012 It's showing this error Link to comment Share on other sites More sharing options...
erkro1 Posted June 30, 2012 Share Posted June 30, 2012 @DarkBeast:> It's showing this errorYou'll have to make a picturebox picGuild.. Link to comment Share on other sites More sharing options...
DarkOne5890 Posted June 30, 2012 Share Posted June 30, 2012 @Erwin:> You'll have to make a picturebox picGuild..How I dont understand Link to comment Share on other sites More sharing options...
erkro1 Posted June 30, 2012 Share Posted June 30, 2012 @DarkBeast:> How I dont understandhttp://www.ehow.com/how_2057760_add-picture-box-visual-basic.htmlGoogle my friend. Link to comment Share on other sites More sharing options...
DarkOne5890 Posted June 30, 2012 Share Posted June 30, 2012 @Erwin:> http://www.ehow.com/how_2057760_add-picture-box-visual-basic.html> > Google my friend.Can you be more espicific Link to comment Share on other sites More sharing options...
tslusny Posted June 30, 2012 Author Share Posted June 30, 2012 you dont added picguild from rar that i attached Link to comment Share on other sites More sharing options...
DarkOne5890 Posted June 30, 2012 Share Posted June 30, 2012 @Deathbeam:> you dont added picguild from rar that i attachedYes look I did it still doesnt work please help Link to comment Share on other sites More sharing options...
tslusny Posted June 30, 2012 Author Share Posted June 30, 2012 so add it Link to comment Share on other sites More sharing options...
DarkOne5890 Posted June 30, 2012 Share Posted June 30, 2012 I did look at pic in post before Link to comment Share on other sites More sharing options...
erkro1 Posted June 30, 2012 Share Posted June 30, 2012 @DarkBeast:> Can you be more espicificIts a step by step explainment of how to add a picturebox in VB6, what more do you want?And with 'Google is your friend' I meant that you can just Google 'how to add a picturebox in VB6' and find thousand tutorials about it.Anyway, do what Deathbeam said and add in the picGuild from the attached rar. 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