Thread: EQII and Mods
View Single Post
  #13  
Unread 11-30-2007, 10:19 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Hmm, not sure about that. I'd have to guess that the broker searches may be hardcoded.

As for an ingame notepad... I made something like that using a simple online system that uses cookies and the in-game browser. Worked well enough for me.

I don't have the bandwith on my site for everyone to use it, but since you ask I'll post it so anyone can host it:

PHP Code:
<?php
//BEGIN HEADER BLOCK
//Online Cookie-Based Notepad v1.2
//Created by "Lordebon"
//Copyright 2007
//This code may not be used or shared without the express written consent of the author
//If such consent is given, it may only be used if this "Header Block" is included without any alterations
//END HEADER BLOCK

$on $_POST['turned'];
$text $HTTP_COOKIE_VARS['note']; //Get the default one
if($on == 2)
{
    
$code $_POST['code']; 
    
$notename "note" $code;
    
$text $HTTP_COOKIE_VARS[$notename];

if(
$on == 5)
{
    
$code $_POST['code']; 
    
$notename "note" $code;
    
$text $_POST['note'];
    
setcookie($notename$texttime()+60*60*24*30);
    echo 
"Note Saved! <br> \n\r";
}
?>

<form id="view" action="note.php" method="post">
<input type="hidden" id="turned" name="turned" value="2"><b>Note to View:</b><input type="text" id="code" name="code" <? if( ($on==2)||($on==5) ){ echo "value='$code'"; } ?> ><br>
<input type="submit" id="gogo" name="gogo" value="View Saved Note"></form>
<hr>
<form id="notes" action="note.php" method="post">
<input type="hidden" id="turned" name="turned" value="5">
<b>Note Name to Save:</b><input type="text" name="code" id="code" <? if( ($on==2)||($on==5) ){ echo "value='$code'"; } ?> ><input type="submit" id="go" name="go" value="Save Notes"><b>Currently Viewing: </b><? echo $code?><br>
<textarea id="note" name="note" cols="100" rows="30"><? echo $text?></textarea>
Reply With Quote