Guild Lightning

10/14/2009 15:05 lolly0001#1
Hello everyone,

I am writing cause I need your help again guys =)
I would like to know how to put in this GM Guild Lightning like in Fussion as example. I guess I need to put a code into the database but which?
I would be hella thanful!

Greetz!
10/14/2009 15:11 -Kicker-#2
Use the search button theres many threads about it m8,not so hard to look for it :)
10/14/2009 15:43 lolly0001#3
What do you think I did :'( Can you send me Link or something please? I can't find it! >.<
10/14/2009 17:52 xfactorbowler#4
I think you can do this your self, if you can't figure out something this simple then well you should really find another game to host
10/14/2009 18:07 lolly0001#5
yep, very helpful from you.
That's a community, who people can ask for help and others do, not talk omething about easy. If it is so easy, if you are a soooooooo good dev, why don't you spit it out?

Anyone else who could help me?
Thanks for sure!
10/14/2009 18:21 caper#6
If I understand correctly, you are looking to apply the extra emblem to the left of the normal guild emblem?

I'm pretty sure it's the Magesty cash shop item (not currently in the cash shop) index #60080.
10/14/2009 18:33 [GM]korean#7
Best gulid mark = "itemetc.csv"-code number : 60087 lol
10/14/2009 21:58 lolly0001#8
Where do I put what in? If you say me this, i got it!
Thanks guys!
10/14/2009 23:34 Bigshow107#9
Quote:
Originally Posted by [GM]korean View Post
Best gulid mark = "itemetc.csv"-code number : 60087 lol
Quote:
Originally Posted by lolly0001 View Post
Where do I put what in? If you say me this, i got it!
Thanks guys!

is that hard ?/
if yes then i will answer you and for last time ;)
you asking alot noobs questions
so everyone got 300$ now want to host a server ?.....bahhhh

anyway :
first korean i think you mean ItemCash ;)
okey you know how to send item by db ? or you need mailbox script?
both need to search
you dk how to search?
okey here a hint :
[Only registered and activated users can see links. Click Here To Register...]
i got bored from those lazy ppl so i just gaved up and start giving full links ...


okey now send item code :
60087
these mark is the Guild of Glory - Best Guild
thats it
is it hard?
nah
does it worse making a thread and wasting 10 members time ?
nah hf no
okey
10/15/2009 00:14 lolly0001#10
I am looking for the answer how to do it through database but couldn't find cause I have already tried the generator and it failed >.< Could someone show me how to send things like the GM lightning on the left of the emblem? I would be hella thankful. I am still learning >.<
Where do I put the code in? I have already experimented but it didn't work... :'(
BTW I couldn'tf find 60087 in itemetc.csv >.< I guess it isn't in.
Anyone got an idea`? I need to lear how to give out items through database -.-
10/15/2009 14:44 pieter#11
im sorry but the answer has been given 4 times allready.

install the mailbox script on your server
send yourself the emblem ingame
login
apply the emblem tou your guild
10/16/2009 19:30 lolly0001#12
I guess you are not very well in understanding... the mailbox script didn't wortk somehow, I asked how to send it > via Database < or did I understand something wrong here?
10/16/2009 20:18 Bigshow107#13
ya very wrong
bro you don't know how to give gm ring to your gm?
then close your server and join another one
for mailbox script ya
scroll down the page a bit and you gone see the fix
search is way better then asking
10/17/2009 21:11 lolly0001#14
OMG don't you understand it? It doesn't work, I do something wrong, I tried with friends etc... you are the one who got problems, because you talk to me to search (what i already did, WHAT DO NOT WORK)! I just look for the answer how to send it via Database, what I didn't find/understand. tz
10/18/2009 00:48 xfactorbowler#15
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>Player Mailbox</title>
<STYLE>
.title { text-align: center; font-size: 1.75em; font-weight: bold; text-decoration: underline; color: blue; }
.bold { font-weight: bold; }
#First { margin-left: 40%; margin-right: 40%; }
.error { text-align: center; color: red; }
#Second { margin-left: 40%; margin-right: 40% }
#Third { text-align: center; color: red; }
</STYLE>
</head>
<body>
<p class='title'>Mailbox Tool</p>

<?php


$mssql = array(
'host' => "localhost",
'user' => "sa",
'pass' => "password"
);


$gm = '[GM]Tester'; /* Enter the GM name you want in the mail */
$text1 = 'A gift for you'; /* Enter text you want in the subject of the mailing */
$text2 = 'Hope you enjoy it'; /* Enter the greeting you want inside the mailing */


/* ---------- DO NOT EDIT BELOW HERE UNLESS YOU KNOW WHAT YOU ARE DOING! --------------- */
/* ------------------------------2009 by Maestro ----------------------------------------- */



if(empty($_POST['select'])) {
echo "
<div id='First'>
<form method='POST'>
<input type='hidden' name='select' value='1'>
<table>
<tr><td class='bold'>Enter Player Name</td></tr>
<tr><td><input type='text' name='charname' /></td></tr>
<tr><td><input type='submit' value='Submit'></td></tr>
</table>
</form>
</div>
";

} elseif($_POST['select'] == '1') {
$ms_con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
$result1 = mssql_query("SELECT * FROM character.dbo.user_character WHERE character_name = '".$_POST['charname']."'",$ms_con);
$count1 = mssql_num_rows($result1);

if($count1 < '1') {
echo "<div class='error'><p>Character not found.</p><p><a href='./mailbox.php'>Back</p></div>";
} elseif($count > '1') {
echo "<div class='error'><p>Too many results.</p><p><a href='./mailbox.php'>Back</p></div>";
} else {
$result2 = mssql_query("SELECT user_no,character_no FROM character.dbo.user_character WHERE character_name = '".$_POST['charname']."'",$ms_con);
$row2 = mssql_fetch_row($result2);
echo "
<div id='Second'>
<form method='POST'>
<input type='hidden' name='select' value='2'>
<table>
<tr><td class='bold'>Player Name:</td></tr>
<tr><td><input type='text' name='charname' maxlength='20' value='".$_POST['charname']."' readonly='readonly' size='20'></td></tr>
<tr><td class='bold'>Player Number:</td></tr>
<tr><td><input type='text' name='char_no' value='".$row2[1]."' readonly='readonly' size='25'></td></tr>
<tr><td class='bold'>Item index:</td></tr>
<tr><td><input type='text' name='item' value='0' /></td></tr>
<tr><td class='bold'>Dil Amount:</td></tr>
<tr><td><input type='text' name='dil' value='0' /></td></tr>
<tr><td><input type='submit' value='Submit'></tr>
</table>
</form>
</div>
";
}

} elseif($_POST['select'] == '2') {

$ms_con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
mssql_query("EXEC character.dbo.SP_POST_SEND_OP '".$_POST['char_no']."','".$gm."',1,'".$text1."','".$text2."','".$_POS T['item']."','".$_POST['dil']."',0",$ms_con);

echo "
<div id='Third'>
<p class='done'>Item and dil have been sent to '".$_POST['charname']."'</p>
<p><a href='./mailbox.php'>Back</a></p>
</div>
";

}else{

echo "<p class='error'>Something must have gone wrong</p><p><a href='./mailbox.php'>Back</a></p>";
}

?>
</body>
</html>

sorry i don't know how to use spoiler but the txt in red is what you needto change for mailbox.php to work properly. have fun.