View Single Post
  #6  
Old 02-28-2004, 12:44 PM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

updated :

- added internal mysql() function. You can call from prompt using :
Quote:
!perl mysql("select name, race, level from npc_id");
*** edited***
forgot to mention that u can use script variables in your queries (else it wouldnt be any better than plain mysql client). Just don't forget to quote strings :
Code:
!perl mysql("select count(id) from spawn2 where zone=\'$zonesn\'")
- changed default comment char to '##' instead of ';'. Now allows to use multiple perl commands on a single line. Useful for multi-line aliases

- detailled trace of plugin loadin'

todo :
- still different package name of default quest as compared to EQEMu. No impact on regular use of the simulator.
- finish quest:xxx() functions
- define basic combat sequence sub. Sthng like : upon attack/attacked, prompt for (N)PC dies / (P)layer dies / (A)uto / (D)isengage. Then trigger EVENT_DEATH, EVENT_SLAY, ... accordingly
***edited***
- alter $class. It is an id in the sim, should be a word as it is in EQEMu.
Reply With Quote