goku1993 Posted March 18, 2011 Author Share Posted March 18, 2011 here's the problem,i got an out of stack space error on```If IsConnected(index) Then```it's in isplaying sub by the way(just saying)and i know that the problem is from this sub```Public Sub GuildMsg(ByVal guildNum As Long, ByVal Msg As String, ByVal color As Byte)Dim i As Long, Player As Long For i = 1 To MAX_GUILD_MEMBERS If Not Guild(guildNum).Member(i) = vbNullString Then Player = FindPlayer(Guild(guildNum).Member(i)) If IsConnected(Player) And IsPlaying(Player) Then GuildMsg Player, Msg, color End If End If NextEnd Sub```i searched a bit and i found out that out of stack means that i m using too much of the resources and stuff and that i should optimize it but i can't really find something to optimize…thank you for your help 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