Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Simple Clan System

Status
Not open for further replies.
Newbie Spellweaver
Joined
Dec 3, 2013
Messages
41
Reaction score
10
Hey guys,

Some people were asking for a clan system with the function to make upload your own clan emblem. So I made this little system and I'm going to release it here.

This system is for chapter 2 and early 3 ONLY! For creating your own clan emblem =D

Features:
- Creating .jpg and .crc
- Automatic inserting in the table "clans".

Some things you can/must do.
- Clear the map "textures/Avata/" in your private warrock folder.
- To show your clan emblem in-game you must edit your warrock.exe

create_clan.php - creating the clan with emblem + name
clan_avatar.php?clan=(CLAN NAME HERE) - to show the clan emblem.

Download:

I made this system quick today. If you found some bugs/problems just say it (=
 
Last edited:
◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜
Developer
Joined
May 29, 2007
Messages
2,167
Reaction score
899
Looks good, I only don't like it that you have to compare a string to detect if the upload of the emblem was successfully.

I'm talking about this:
Code:
if ($response == "Your clan emblem is successfully created!") {

But nice system you've made! Thanks for sharing :D
 
Newbie Spellweaver
Joined
Dec 3, 2013
Messages
41
Reaction score
10
Looks good, I only don't like it that you have to compare a string to detect if the upload of the emblem was successfully.

I'm talking about this:
Code:
if ($response == "Your clan emblem is successfully created!") {

But nice system you've made! Thanks for sharing :D

I understand, but I wanted to make the code understandable for those with less knowledge :p
 
◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜
Developer
Joined
May 29, 2007
Messages
2,167
Reaction score
899
I understand, but I wanted to make the code understandable for those with less knowledge :p

Can't you just make it return 1 or 0? That's more understandable if you just add a comment like //returns 1 if valid else 0.
 
Newbie Spellweaver
Joined
Dec 3, 2013
Messages
41
Reaction score
10
Can't you just make it return 1 or 0? That's more understandable if you just add a comment like //returns 1 if valid else 0.

Megh, it's not neccessary for the working of it. I understand what you mean, btw does it works well?

//Off; Je komt uit Belgie als ik 't niet verkeers heb, toch? :p
 
◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜
Developer
Joined
May 29, 2007
Messages
2,167
Reaction score
899
Megh, it's not neccessary for the working of it. I understand what you mean, btw does it works well?

They taught me that comparing strings is bad. If the script doesn't get a lot of payload, then it's fine I guess.
 
Newbie Spellweaver
Joined
Feb 2, 2014
Messages
67
Reaction score
8
Hey guys,

Some people were asking for a clan system with the function to make upload your own clan emblem. So I made this little system and I'm going to release it here.

This system is for chapter 2 and early 3 ONLY! For creating your own clan emblem =D

Features:
- Creating .jpg and .crc
- Automatic inserting in the table "clans".

Some things you can/must do.
- Clear the map "textures/Avata/" in your private warrock folder.
- To show your clan emblem in-game you must edit your warrock.exe

create_clan.php - creating the clan with emblem + name
clan_avatar.php?clan=(CLAN NAME HERE) - to show the clan emblem.

Download:

I made this system quick today. If you found some bugs/problems just say it (=

The New updates user tag file on Clan folder.
 
Newbie Spellweaver
Joined
Mar 20, 2013
Messages
88
Reaction score
3
Thanks for sharing this system!
//offtopic: Ik kom uit België :$$
 
Status
Not open for further replies.
Back
Top