Mirage Source
Need Some Help - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Need Some Help (/showthread.php?tid=2450)



Need Some Help - timster0 - 23-12-2008

I found this TuT for a Guild System:

http://web.miragesource.com/old-tutorials/temporary_archive/Guild%20System.html

After reading it over i saw there are things like FRMGuildCP and such, just wondering if anyone knows how to complete this tut.


Re: Need Some Help - Matt - 23-12-2008

Just create a new form, name it that and add all the stuff the tutorial uses.


Re: Need Some Help - timster0 - 23-12-2008

So just read the tut and put all the commands into a form? Cuz I have no idea how the Guild Creation works.


Re: Need Some Help - Dragoons Master - 23-12-2008

If it uses txtBlablabla, add a textbox named txtBlablabla and the same goes for the other things it used.


Re: Need Some Help - timster0 - 23-12-2008

I looked at the Server Guild Creation packet:

Code:
' :::::::::::::::::::::::::
    ' :: Create Guild packet ::
    ' :::::::::::::::::::::::::
    If LCase(Parse(0)) = "createguild" Then
    Dim Z As String
    
      ' Prevent hacking
        If GetPlayerAccess(Index) < ADMIN_CREATOR Then
              Call HackingAttempt(Index, "Trying to use powers not available")
              Exit Sub
        End If
        
        ' The Player
        N = FindPlayer(Parse(1))
        ' The Guild
        Z = Trim(Parse(2))
        
        Call CreateGuild(N, Z)
        Call SetPlayerGuildAccess(N, 4)
        Call SendPlayerData(N)
        Call GlobalMsg(GetPlayerName(N) & " has joined the ranks of " & Z & ".", Black)
        Call AddLog(GetPlayerName(N) & " has joined the ranks of " & Z & ".", ADMIN_LOG)
        Exit Sub
    End If

couldn't find anything there, the is no Guild Creation Command client Side either.