Use an iframe, use CSS to make it be in the center, use JS to make a close button for it.
Easy![]()
Use an iframe, use CSS to make it be in the center, use JS to make a close button for it.
Easy![]()
can you make it so it gives u an item please?... and also if you know how to make NPCs that teach u skills can u plz help me with somethin
Here's for items, it'll send the item to the player via mail. Make sure you set ascent-world to refresh the mailbox from the DB, otherwise this won't work.
http://pastebin.com/f702efe78
Side by side comparison with the first code (to update):
pastebin - collaborative debugging tool
will the gold still be added if the player is online?
Last edited by brange; 03-18-2008 at 08:06 AM.
If the char is still online, first script will not mod gold. If you do this using the mailbox method, item/gold will be given even if the char's online.
You should get Contributer tag!
What, like, now?
Very nice +Rep x2
/bow
Thank you, thank you.
I shall now proceed into making this a popup.
Alright, sorry about the double but this is big.
This will pop a window (which can not be blocked) with vote.php.
However, if you already voted, it will not show the window at all.
What to do:
In vote.php find this line
And below it addPHP Code:
echo "A char with that name was not found.";
Now, in your main page just stick this snippet anywhere. I recommend near the end of body.PHP Code:
echo "<br /><a href='javascript: history.go(-1)'>Back</a>";
http://pastebin.com/f4969c3a
I tried posting here but it shows a big ugly error
I'll set it up on a blank page to show you, right now it's on my server's main page and I don't want to post the address and get warned for advertising![]()
1337, +rep
*filler*
wow sweet was wondering how others did this if i could +rep i would still a newb
will this work on 3.5 stable?
It should, seeing as the relevant fields haven't changed.
well, I changed the interval in my ascent config to 10, so it reloads every 10, but I'm not sure if that's a correct interval, give me a moment, and I'll post the php code, and the configuration for you to view, and allow me to find my error, since it's not inserting into my db. thanks.