Search found 41 matches

by onetimehero
Mon Aug 21, 2006 7:05 pm
Forum: ISXEQ::Development::General
Topic: ItemTarget and GroundItem:Grab
Replies: 3
Views: 3580

ItemTarget and GroundItem:Grab

FWIW, ISXEQCommands.cpp int CMD_ItemTarget(int argc, char *argv[]) { if (!ppItemList) return 0; if (!pItemList) return 0; PSPAWNINFO pChar = (PSPAWNINFO)pLocalPlayer; PGROUNDITEM pItem = (PGROUNDITEM)pItemList; FLOAT cDistance = 100000.0f; CHAR szName[MAX_STRING]={0}; CHAR szBuffer[MAX_STRING] = {0}...
by onetimehero
Thu Aug 10, 2006 3:44 pm
Forum: ISXEQ::Help
Topic: Extensions unable to find save files if loaded from .iss
Replies: 4
Views: 3608

Try this:

Code: Select all


function main() 
{ 
  cd ${LavishScript.HomeDirectory}
  ext -require isxeq 
  ext isxeqchatwnd 
  ext isxeqcustombinds 
  ext isxeqitemdisplay 
  ext isxeqlabels 
  ext isxeqmap 
}

by onetimehero
Fri Dec 02, 2005 5:13 pm
Forum: ISXEQ::Scripts::Requests
Topic: Fishing, Begging, Foraging, and tradeskills
Replies: 17
Views: 7316

and it's called beggar.iss, right?
by onetimehero
Fri Dec 02, 2005 2:42 pm
Forum: ISXEQ::Scripts::Requests
Topic: Fishing, Begging, Foraging, and tradeskills
Replies: 17
Views: 7316

function main() { do { Wait 10 if "${Me.Combat} && ${Me.AbilityReady[Begging]}" { EQExecute /attack off Wait 5 doability "Begging" Wait 5 EQExecute /attack on } } while "1" } Works like a champ for me. Did you put the beggar.iss in the "Scripts" folde...
by onetimehero
Thu Dec 01, 2005 6:22 pm
Forum: ISXEQ::Scripts::Requests
Topic: Fishing, Begging, Foraging, and tradeskills
Replies: 17
Views: 7316

untested

beggar.iss

Code: Select all

function main() 
{ 
  do 
  { 
    Wait 10
    if "${Me.Combat} && ${Me.AbilityReady[Beg]}"
    {
       EQExecute /attack off
       Wait 5
       doability "Beg"
       Wait 5
       EQExecute /attack on
    }
  } 
  while "1" 
} 
by onetimehero
Thu Dec 01, 2005 5:12 pm
Forum: ISXEQ::Help
Topic: commands defaulting to isxeq
Replies: 5
Views: 2340

/alias g gsay
by onetimehero
Sat Oct 08, 2005 11:02 am
Forum: MQ2::Bug Reports
Topic: ${Me.CombatAbilityReady[Cyclone Blade]} Fails
Replies: 4
Views: 2319

If you can get me the value in the charname_servername.ini for a hotbutton for a CycloneBlade hotbutton, I can maybe track down where the timer is ...
by onetimehero
Wed Jul 20, 2005 10:33 am
Forum: ISXEQ::Development::General
Topic: MQ2TimerType methods
Replies: 1
Views: 3186

MQ2TimerType methods

ISXEQDataTypes.cpp bool MQ2TimerType::GETMETHOD() { #define pPtr ((PMQTIMER)VarPtr.Ptr) if (!VarPtr.Ptr) return false; PMQ2TYPEMETHOD pMethod=MQ2TimerType::FindMethod(Method); if (!pMethod) { return false; } switch((TimerMethods)pMethod->ID) { case Reset: pPtr->Current=pPtr->Original; return true; c...
by onetimehero
Fri Jul 08, 2005 9:55 am
Forum: ISXEQ::Scripts::Help
Topic: Syntax Help
Replies: 14
Views: 8087

code for Spawn:Face

Here's what I have for the :Face method. You can :Face[fast,nolook,predict,away]. I also have :LeftClick and :RightClick members. case Face: { PSPAWNINFO pSpawn = (PSPAWNINFO)GetSpawnByID(pPtr->SpawnID); if (pSpawn->SpawnID==((PSPAWNINFO)pCharSpawn)->SpawnID) // If it is ourself, don't do anything. ...
by onetimehero
Sat May 14, 2005 3:40 pm
Forum: ISXEQ::Scripts::Snippets
Topic: conversion of spell_routines.inc for ISXEQ
Replies: 63
Views: 11961

Well, it's still a work in progress. The invis check should be moved to the main cast function i think before the check for what type you are casting. One thing i didn't like about spell_routines was if somebody invised me un expectedly, the macro would hang up in spell_routines in the wait_for_stop...
by onetimehero
Fri May 06, 2005 8:18 pm
Forum: ISXEQ::Scripts::Help
Topic: wait4rez.iss
Replies: 10
Views: 7344

function names are case-sensitive, just like variable names.
by onetimehero
Fri May 06, 2005 12:42 am
Forum: ISXEQ::Scripts::Help
Topic: wait4rez.iss
Replies: 10
Views: 7344

variable scope

Variable scope declarations are different in LS. There are three: function local variables, script variables, and global variables. declare t int outer 1 declare result int outer 0 declare loottotal int outer declare lootslot int outer declare lootleft int outer 0 could become declare t int script 1...
by onetimehero
Tue May 03, 2005 5:31 pm
Forum: ISXEQ::General
Topic: Using datatype methods
Replies: 47
Views: 6270

Well, Sub Main Loop: /itemnotify rightear rightmouseup /delay 1 /goto Loop: /return could become function main() { do { itemnotify rightear rightmouseup wait 1 } while "1" } and you could use /endscript scriptname within EQ to end the script at any time.
by onetimehero
Mon May 02, 2005 2:40 pm
Forum: MQ2::Macros::Snippets
Topic: Feedme.inc v2.3
Replies: 32
Views: 19194

ver 2.3

I removed a bit of redundant code, stripped out the loading of items into an array for no apparent reason 8-). This is untested btw...somebody try it and tell me where it's broken. |Feedme.inc v2.3 #Event SetFeedMe "[MQ2] SetFeedMe#*#" Sub FeedMeDeclares /declare DoFeedMe int outer 1 /sque...
by onetimehero
Mon May 02, 2005 2:18 pm
Forum: ISXEQ::General
Topic: Using datatype methods
Replies: 47
Views: 6270

in my experience, a lot of the conversion work is mundane: 1) Stripping / from commands 2) Surrounding if statements with " " 3) converting /for loops to do {} while 4) remembering to use EQExecute for commands that aren't part of ISXEQ (EQExecute /sit, etc.) Not so mundane: 1) Ripping out...