GM detection and banning chance reduction

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Locked
Message
Author
Danni
Posts: 59
Joined: Sat Nov 09, 2013 6:24 pm

Re: GM detection and banning chance reduction

#401 Post by Danni » Sat Dec 28, 2013 4:43 am

Code: Select all

table: 087EC500
Harvesting:     false
GUID:   856932
MaxEnergy:      0
LastDamage:     0
MP:     4151
Rage:   0
TargetPtr:      0
HP:     6139
Guild:  <UNKNOWN>
Energy: 0
DirectionY:     0
Buffs:  table: 087EC550
MaxMP:  4151
Id:     1001
IsPet:  false
Name:   Fredil
Speed:  50
Lootable:       false
MaxRage:        0
Mounted:        false
Race:   0
TargetIcon:     true
InParty:        false
MaxFocus:       0
Address:        2109813248
Casting:        false
Aggressive:     false
Attackable:     false
Class1: 5
Swimming:       false
MaxHP:  6139
Z:      -4027.2785644531
Alive:  true
Focus:  0
Type:   1
Direction:      -2.3212879149345
Level:  54
MaxMana:        4151
Y:      139.50688171387
MP2:    1
Class2: 4
X:      -7223.9931640625
Mana:   4151
Level2: 54
MaxMP2: 1
Alarm has been sounded
Moving to waypoint #9, (-7041, -4246)
The game client did not crash.
5:35pm - ...ROM/scripts/rom/userfunctions/userfunction_gmmonitor.lua:372: Logging out because GM detected.
First Message :) Is that a GM, if yes Function works ..... if not ...... and player is normal Character ......Function seems to still have the same problem :?:

Danni
Posts: 59
Joined: Sat Nov 09, 2013 6:24 pm

Re: GM detection and banning chance reduction

#402 Post by Danni » Sat Dec 28, 2013 5:25 am

It seems as soon I try to run any script involving GMdestect, I get logged of.... this time :

Code: Select all

table: 0453E3D8
LastDamage:     0
Direction:      -1.2566370893027
Class1: 6
Race:   0
GUID:   856562
Mounted:        false
Focus:  0
MaxFocus:       0
Casting:        false
HP:     6714
MP2:    1
DirectionY:     0
Buffs:  table: 0453E428
        1:      table: 0453E450
                TimeLeft:       7.2909989356995
                Id:     509705
                Count:  1
                Level:  0
                Name:   Novice Protection
TargetIcon:     true
Guild:  <UNKNOWN>
IsPet:  false
Speed:  50
Level2: 0
Level:  9
Swimming:       false
InParty:        false
Harvesting:     false
Alive:  true
MaxMP2: 1
Name:   Worldsman
Lootable:       false
Aggressive:     false
TargetPtr:      0
MaxEnergy:      0
MaxHP:  6714
Id:     1000
Attackable:     false
MaxMP:  5015
Class2: -1
MP:     5015
MaxMana:        5015
Address:        1040049664
Mana:   5015
X:      -6920.408203125
Energy: 0
Rage:   0
Y:      173.00985717773
Z:      -4248.8134765625
MaxRage:        0
Type:   1
Alarm has been sounded
Resting finished after 1 seconds.
6 quests completed.
The game client did not crash.
6:19pm - ...ROM/scripts/rom/userfunctions/userfunction_gmmonitor.lua:372: Logging out because GM detected.
That is a lvl 9 Warrior, so my guess is, not a GM .....

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#403 Post by lisa » Sat Dec 28, 2013 8:00 am

Well I have gone over it with a fine tooth comb and the only thing I can think of is the new function is returning true even though it shouldn't be.

Give this a try, it will give different prints.
Attachments
userfunction_gmmonitor.lua
7.7b
(18.32 KiB) Downloaded 164 times
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: GM detection and banning chance reduction

#404 Post by BlubBlab » Sat Dec 28, 2013 9:00 am

I'm not sure whats going on but I can tell I'm using the new version now a lot such a problem never occurred to me.
It's true their was 1 or 2 miss alarms even with the old version the problem was I stud in varanas and somebody switched channels(or I) so that the char wasn't complete in the memory so the result was a miss interpretation from the bot but such a think happens extreme rarely.

I even suspect like lisa that some of your GM names or GM Pattern is a substring of the names you found, I think it's something custom you did to the lists.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#405 Post by lisa » Sat Dec 28, 2013 6:43 pm

yeah last version I posted will print the name in the gmnamelist that is returning true, I can't fault the code at all.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Danni
Posts: 59
Joined: Sat Nov 09, 2013 6:24 pm

Re: GM detection and banning chance reduction

#406 Post by Danni » Sat Dec 28, 2013 8:38 pm

you guys were right.

I found the problem :oops:

It was really in my costum list. It kick me out, cause a phrase was found in each of the characters.
Corrected it and it seems to works now :oops:

The new print was really helpful ;)

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: GM detection and banning chance reduction

#407 Post by BlubBlab » Sun Dec 29, 2013 3:56 pm

Okay I updated the script again.
changes:
-Increased the time between AskPlayer from 50 to 100 (50 was to fast caused a bug)
-Added check GM messages/memory search while sleep
-Added some print messages in MM for relog
-Added wait time magic number to the config
-Added some GM names to the default list
-I didn't mentioned earlier it but if you have a chatbot you can use with:

Code: Select all

gmreply = chatbot(lastGM_message)
It's an interface for an plugin
Attachments
userfunction_gmmonitor.lua
version 7.8
(18.8 KiB) Downloaded 186 times
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

vale46
Posts: 25
Joined: Sat Apr 23, 2011 1:22 pm

Re: GM detection and banning chance reduction

#408 Post by vale46 » Sat Jan 04, 2014 7:42 pm

Hey Lisa ,

maybe im to stupid to put just 2 codes in the right file, but everytime i try do to the first steps, my bot crashes.

where i musst put this code ?
Code:

<onLoad><![CDATA[
startGMDetect()
]]></onLoad>

this is my ks/sok.xml , should it be like this :


<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad> here !?!?!
<!--****************************************************************************************************************************-->
<!-- or here ?!?!?! o.O ON Load Funktion's -->
<!-- -->
<!--****************************************************************************************************************************-->

<!--++++++++++ SCRIPT MENUE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->

Im not kidding, i try to understand this over a year :(

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: GM detection and banning chance reduction

#409 Post by rock5 » Sat Jan 04, 2014 11:27 pm

Here are some basics.

startGMDetect() has to go in the onload.

Anything between <!-- and --> is an xml comment.

<![CDATA[ .... ]]> is just a way of encapsulating the lua code in waypoints and onload and such. It's mainly used to make sure no elements of the lua get interpreted as xml components. Eg. "if a < b then", in this example the "<" symbol gets interpreted as the beginning of a tag and causes an error. You wont get that error if you use the CDATA encapsulation. But it is rarely used as there are easier ways to avoid errors, eg. if you change "if a < b then" to "if b > a then" you would get no error and it means the same thing.

So to recap, put startGMDetect() between <onLoad> and </onLoad> tags. Don't put it in a comment and make sure it is outside of any code structures such as loops or if statements. You don't need to use the CDATA encapsulation.

I hope that helps.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: GM detection and banning chance reduction

#410 Post by BlubBlab » Sat Jan 04, 2014 11:43 pm

Sry for interrupt I have make some bugfixing.
-fix bug I swapped accidentally ms and s
-fix relog option forgot to kill the client.
-defend while sleep
Attachments
userfunction_gmmonitor.lua
V7.8c
(19.1 KiB) Downloaded 209 times
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

vale46
Posts: 25
Joined: Sat Apr 23, 2011 1:22 pm

Re: GM detection and banning chance reduction

#411 Post by vale46 » Mon Jan 06, 2014 3:15 pm

Hey Rock5,
everthing is working now with the hole gm detection. I tried also the testcharname and wisper my bot, its running very well... the Alarm.wav works also.

but ( i think i fix one Problem and get another :) )

when the bot enters ks, i get this error massage.

Unbekannter Profil Skill 'PRIEST_URGENT_HEAL'. Der Skill ist nicht in ihrem Prof
il definiert. Bitte prüfen Sie Ihre Einstellungen.
Unbekannter Profil Skill 'PRIEST_REGENERATE'. Der Skill ist nicht in ihrem Profi
l definiert. Bitte prüfen Sie Ihre Einstellungen.
Die Option 'HP_LOW' wurde von '85' auf '70' geändert.
Unknown profile skill PRIEST_URGENT_HEAL. Check your manual castings (e.g. in th
e events or waypoint files). Be sure the skill is in the skills section of your
profile.
The game client did not crash.
7:32pm - .../Desktop/Games/micromacro/scripts/rom/classes/player.lua:1005: attem
pt to compare number with Nil

I dont do nothing on the main skill Option, I Play with Mage/Priest, and I never needed heal potions cause of my second class.
Maybe i will never learn it :(((

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: GM detection and banning chance reduction

#412 Post by Bill D Cat » Mon Jan 06, 2014 3:27 pm

The trick here is to copy the Priest general skills like Regenerate and Urgent Heal into the Mage section of your profile. The skills are only used if they are listed in the section for your primary class. For example:

Code: Select all

	<skills_mage>
		<skill name="MAGE_FIREBALL"						hotkey="MACRO" priority="70" />
		<skill name="MAGE_LIGHTNING"					hotkey="MACRO" priority="80" />
		<skill name="MAGE_INTENSIFICATION"				hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ELEMENTAL_CATALYSIS"			hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_FLAME"						hotkey="MACRO" priority="80" />
		<skill name="MAGE_PURGATORY_FIRE"				hotkey="MACRO" priority="85" />
		<skill name="MAGE_ENERGY_INFLUX"				hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ENERGY_WELL"					hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ELEMENTAL_WEAKNESS"			hotkey="MACRO" priority="60" />
		<skill name="MAGE_THUNDERSTORM"					hotkey="MACRO" priority="90" />
		<skill name="PRIEST_URGENT_HEAL"				hotkey="MACRO" priority="100" hpper="50" />
		<skill name="PRIEST_REGENERATE"					hotkey="MACRO" priority="90"  hpper="80" />
		<skill name="PRIEST_HOLY_AURA"					hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
	</skills_mage>

	<skills_priest>
		<skill name="PRIEST_RISING_TIDE"				hotkey="MACRO" priority="80" />
		<skill name="PRIEST_URGENT_HEAL"				hotkey="MACRO" priority="100" hpper="50" />
		<skill name="PRIEST_REGENERATE"					hotkey="MACRO" priority="90"  hpper="80" />
		<skill name="PRIEST_HOLY_AURA"					hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
		<skill name="PRIEST_SOUL_SOURCE"				hotkey="MACRO" priority="110" inbattle="true" hpper="15" />
		<skill name="PRIEST_WAVE_ARMOR"					hotkey="MACRO" priority="40" inbattle="true" hpper="40" />
		<skill name="PRIEST_HEAL"						hotkey="MACRO" priority="100" hpper="35" />
		<skill name="PRIEST_BONE_CHILL"					hotkey="MACRO" priority="75" />
		<skill name="PRIEST_GRACE_OF_LIFE"				hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_CHAIN_OF_LIGHT"				hotkey="MACRO" priority="80" />
		<skill name="PRIEST_AMPLIFIED_ATTACK"			hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="MAGE_FIREBALL"						hotkey="MACRO" priority="70" />
		<skill name="MAGE_LIGHTNING"					hotkey="MACRO" priority="80" />
	</skills_priest>

deckelmaho
Posts: 3
Joined: Thu Jan 16, 2014 1:11 pm

Re: GM detection and banning chance reduction

#413 Post by deckelmaho » Thu Jan 16, 2014 1:35 pm

Dear members,
i want to integrate the gm detection to the Kalin waypoint...

Ive set the "<![CDATA[startGMDetect()]]> into the onload from the KS_waypoint...(on the begin)... i´ve tested the detection, it works fine 8-)

the only mistake... the bot doesnt sell my items at the NPC. it open the window, wait and go away

my profile:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
	<options>
		<!-- Try the bot with a new char mage                   -->
		<!-- At the pioneer village. Use demo.xml waypoint file -->
		<option name="HP_LOW"			value="85" />
		<option name="MP_LOW_POTION"		value="" />
		<option name="HP_LOW_POTION"		value="50" />
		<option name="USE_HP_POTION"		value="best" />			<!-- potion select strategy: best|minstack -->
		<option name="USE_MANA_POTION"		value="best" />			<!-- potion select strategy: best|minstack -->
		<option name="USE_PHIRIUS_POTION"	value="false" /> 		<!-- false | true if you want to use the Phirus Potions -->
		<option name="PHIRIUS_MP_LOW"		value="40" />
		<option name="PHIRIUS_HP_LOW"		value="40" />

		<!-- Rest if HP or Mana is below that level -->
		<option name="HP_REST" 			value="15" />
		<option name="MP_REST" 			value="15" />

		<!-- Shopping options, how many of what do you want to keep in your inventory -->
		<option name="HEALING_POTION" 		value="0" />
		<option name="MANA_POTION" 		value="0" />		<!-- set to "0" if not required to buy -->
		<option name="ARROW_QUIVER" 		value="0" /> 			<!-- set to "0" if not required to buy -->
		<option name="THROWN_BAG" 		value="0" />		<!-- set to "0" if not required to buy -->
		<option name="POISON" 			value="0" />		<!-- set to "0" if not required to buy -->

		<!-- either false or arrow or thrown -->
		<option name="RELOAD_AMMUNITION" 	value="false" />	<!-- false|arrow|thrown -->

		<!-- Combat options -->
		<option name="COMBAT_TYPE"        	value="melee" />	<!-- leave empty or choose ranged/melee if not using class default -->
		<option name="COMBAT_RANGED_PULL" 	value="false" /> 	<!-- only important for melees -->
		<option name="COMBAT_DISTANCE"    	value="200" />		<!-- Distance at which it starts using skills -->
		<option name="COMBAT_STOP_DISTANCE" 	value="200" />		<!-- Distance at which it stops moving towards the target -->
		<option name="MAX_FIGHT_TIME"     	value="15" />		<!-- Max time without damage before break -->
		<option name="DOT_PERCENT"        	value="90" />
		<option name="ANTI_KS"            	value="true" />
		<option name="MAX_TARGET_DIST"    	value="225" />
		<option name="PRIORITY_CASTING"		value="true" />		<!-- If you want to cast attack skills by 'priority' or 'sequencially' -->
		<option name="COUNT_AGGRO_ONLY"		value="false" />	<!-- If you want to count only aggro mobs within range of aoe skills  -->

		<!-- Attack monsters 3 levels above or 10 below your level -->
		<option name="TARGET_LEVELDIF_ABOVE" value="3" />
		<option name="TARGET_LEVELDIF_BELOW" value="35" />

		<!-- Waypoint and movement settings -->
		<option name="WAYPOINTS"		value="" />  		<!-- leave empty to show a list -->
		<option name="RETURNPATH"		value="" />
		<option name="PATH_TYPE"		value="waypoints" />	<!-- waypoints | wander -->
		<option name="WANDER_RADIUS"		value="500" />
		<option name="WAYPOINT_DEVIATION"	value="0" />
		<option name="QUICK_TURN" 			value="true" />

		<!-- Loot settings -->
		<option name="LOOT"               	value="true" />
		<option name="LOOT_ALL"			value="true" />  	<!-- Loot all nearby dead mobs after combat -->
		<option name="LOOT_IN_COMBAT"     	value="true" />
		<option name="LOOT_DISTANCE"      	value="100" />
		<option name="LOOT_PAUSE_AFTER"   	value="0" />		<!-- probability in % for a short rest -->
		<option name="LOOT_SIGILS"		value="" />		<!-- Loot sigils or not. If ommitted, will depend on "LOOT" value -->
		<option name="SIGILS_IGNORE_LIST"	value="" />		<!-- List of any sigils you wish to ignore, in language of client -->

		<!-- Auto selling options when used with player:merchant -->
		<option name="INV_AUTOSELL_ENABLE"		value="true" />		<!-- true | false -->
		<option name="INV_AUTOSELL_FROMSLOT" 	value="1" /> 		<!-- 1 = bag 1 slot 1 -->
		<option name="INV_AUTOSELL_TOSLOT"		value="180" /> 		<!-- 30 = last slot bag 1 -->
		<option name="INV_AUTOSELL_QUALITY"		value="purple" /> 	<!-- white,green,blue,purple  -->

		<!-- Harvest options -->
		<option name="HARVEST_DISTANCE"		value="120" />
		<option name="HARVEST_WOOD"		value="true" /> 	<!-- Choose which types to harvest. -->
		<option name="HARVEST_HERB"		value="true" /> 	<!-- "true" = harvest, "false" = do not harvest -->
		<option name="HARVEST_ORE"		value="true" />

		<!-- Eggpet options -->
		<option name="EGGPET_ENABLE_CRAFT"	value="false" />	<!-- If using same slot for assist and craft, onlt 1 can be enabled. -->
		<option name="EGGPET_CRAFT_SLOT"	value="1" />
		<option name="EGGPET_ENABLE_ASSIST"	value="false" />
		<option name="EGGPET_ASSIST_SLOT"	value="1" />
		<option name="EGGPET_CRAFT_RATIO"	value="1:1:1" /> 	<!-- mining:woodworking:herbalism ratio to produce. -->
		<option name="EGGPET_CRAFT_INDEXES"	value="" /> 	 	<!-- override auto craft index for mining,woodworking,herbalism eg. "2,,"-->


		<!-- Log out and resurrect settings -->
		<option name="LOGOUT_TIME" 		value="50" />		<!-- in minutes, 0 = timer disabled -->
		<option name="LOGOUT_SHUTDOWN"		value="false" />
		<option name="LOGOUT_WHEN_STUCK"	value="true" />
		<option name="CLOSE_WHEN_STUCK"		value="true" />
		<option name="RES_AFTER_DEATH" 		value="true" />
		<option name="MAX_DEATHS" 		value="10" /> 		<!-- Log out after this many deaths -->

		<!-- Party Bot options  -->
		<option name="PARTY"		value="true" />
		<option name="PARTY_ICONS"		value="true" /> 
		<option name="PARTY_INSTANCE"	value="true" /> 

		<!-- Healing options -->
		<option name="HEALER_FIGHT"	value="false" /> --> 	<!-- For party bot if you want healer to also fight -->

		<!-- pvp -->
		<option name="PVP"			value="true" /> --> 	<!-- To enable PVP, with this set to true it will auto attack any players with red names -->


		<!-- GM detection options -->
      	<option name="GMDETECT"        		value="true" /> 		<!-- enables the GM detection userfunction -->
		<option name="GMnearbylogout"		value="true" /> 		<!-- If a GM is close to the character it will log out.-->
		<option name="GMonServer"			value="pause" /> 		<!-- possible: logout/pause/relog-->
      	<option name="PAUSEONGM"			value="0" />  		<!-- Pauses when GM whispers for value in seconds. ie 300 = 5 minutes-->
      	<option name="RECALL"				value="true" /> 		<!-- if in combat while pausing it will use recall and whisper/logout-->
		<option name="playerDETECT"			value="true" /> 		<!-- enables the player detection userfunction-->

		<option name="GMPAUSETIME"      	value="60" />  			<!-- Pauses when GM is on server. ie 300 = 5 minutes-->
		<option name="GMRELOGETIME"      	value="60" />  			<!-- RELOG time when GM is on server. ie 300 = 5 minutes-->

		<!-- For more options and documentation see the RoM Bot Wiki:  -->
		<!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->

	</options>

	<friends>
		<!-- names of friends we help fighting or enemys we don't want to attack -->
		<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer         -->
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
		<friend name="Elite_Mob_Name1" />
		<friend name="Elite_Mob_Name2" />
	</friends>

	<mobs>
		<!-- names of mobs we want to attack 				-->
		<!-- if no names defined we will attack all mobs	-->
		<mob name="" />
		<mob name="" />
		<mob name="" />
	</mobs>

	<hotkeys>
    	<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
		<hotkey name="MACRO"          key="VK_0" />
	</hotkeys>

	<!-- define your skills depending from your actual primary class -->
	<!-- see the example for a priest/mage                           -->
	<!-- delete skills you don't have or don't want to use.          -->
	<!-- For more skills to use see /database/skills.xml             -->
	<!-- demo skills for LvL 1 character for all classes             -->
	<!-- to use a specific key instead of MACRO then use hotkey="VK_1" this example is for hotkey 1 -->
	<skills_priest>
		<skill name="PRIEST_SOUL_SOURCE"     	hotkey="MACRO" priority="110" inbattle="true" hpper="15" />
		<skill name="PRIEST_URGENT_HEAL"     	hotkey="MACRO" priority="100" hpper="50"  />
		<skill name="PRIEST_REGENERATE"      	hotkey="MACRO" priority="90"  hpper="80" />
		<skill name="PRIEST_RISING_TIDE"     	hotkey="MACRO" priority="80" />
		<skill name="PRIEST_WAVE_ARMOR"      	hotkey="MACRO" priority="40"  inbattle="true" />
		<skill name="PRIEST_AMPLIFIED_ATTACK" 	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_GRACE_OF_LIFE" 	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_HOLY_AURA"       	hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
		<skill name="PRIEST_SOUL_BOND"     	hotkey="MACRO" priority="30" /> -->
		<skill name="PRIEST_MAGIC_BARRIER" 	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" /> -->
	</skills_priest>

	<skills_warrior>
		<skill name="WARRIOR_SLASH"          	hotkey="MACRO" priority="90" />
		<skill name="WARRIOR_TACTICAL_ATTACK"   hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_PROBING_ATTACK" 	hotkey="MACRO" priority="80" />
		<skill name="WARRIOR_OPEN_FLANK"      	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_SURPRISE_ATTACK"   hotkey="MACRO" priority="70" pullonly="true" />
		<skill name="WARRIOR_FRENZY"  		hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="WARRIOR_THUNDER"     	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_MOON_CLEAVE"     	hotkey="MACRO" priority="70" />
		<skill name="WARRIOR_BLASTING_CYCLONE"  hotkey="MACRO" priority="70" />
	</skills_warrior>

	<skills_scout>
		<skill name="SCOUT_SHOT"          	hotkey="MACRO" priority="90" />
		<skill name="SCOUT_AUTOSHOT"      	hotkey="MACRO" priority="80" />
		<skill name="SCOUT_WIND_ARROWS"   	hotkey="MACRO" priority="70" />
		<skill name="SCOUT_VAMPIRE_ARROWS" 	hotkey="MACRO" priority="70" />
		<skill name="SCOUT_COMBO_SHOT"        	hotkey="MACRO" priority="95" />
		<skill name="SCOUT_ARROW_OF_ESSENCE"    hotkey="MACRO" priority="90" maxhpper="60" inbattle="true"/>
	</skills_scout>

	<skills_rogue>
		<skill name="SCOUT_VAMPIRE_ARROWS" 	hotkey="MACRO" priority="90" />
		<skill name="ROGUE_SHADOWSTAB"    	hotkey="MACRO" priority="95" />
		<skill name="ROGUE_LOW_BLOW"      	hotkey="MACRO" priority="80" />
		<skill name="ROGUE_HIDE"    		hotkey="MACRO" priority="10" autouse="false" />
		<skill name="ROGUE_INFORMER"    	hotkey="MACRO" priority="80" />
		<skill name="ROGUE_ASSASSINS_RAGE"    	hotkey="MACRO" priority="60" />
		<skill name="ROGUE_WOUND_ATTACK"    	hotkey="MACRO" priority="80" />
	</skills_rogue>

	<skills_mage>
		<skill name="MAGE_FLAME"                hotkey="MACRO" priority="80" />
		<skill name="MAGE_FIREBALL"          	hotkey="MACRO" priority="70" />
		<skill name="MAGE_LIGHTNING"         	hotkey="MACRO" priority="80" />
		<skill name="MAGE_ENERGY_INFLUX" 	hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ELEMENTAL_CATALYST"   hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ENERGY_WELL" 		hotkey="MACRO" priority="30" inbattle="true" />
	</skills_mage>

	<skills_knight>
		<skill name="KNIGHT_HOLY_STRIKE"    	hotkey="MACRO" priority="90" />
		<skill name="KNIGHT_HOLY_SHIELD"    	hotkey="MACRO" priority="80" inbattle="true" hpper="15" />
		<skill name="KNIGHT_HOLY_SEAL"      	hotkey="MACRO" priority="70" />
		<skill name="KNIGHT_PUNISHMENT"     	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_ENHANCED_ARMOR"   	hotkey="MACRO" priority="90" />
		<skill name="KNIGHT_MANA_RETURN"   	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_RESOLUTION"   	hotkey="MACRO" priority="60" />
		<skill name="KNIGHT_DISARMAMENT"   	hotkey="MACRO" priority="70" />
	</skills_knight>

	<skills_warden>
		<skill name="WARDEN_CHARGED_CHOP"		hotkey="MACRO" priority="100" />
		<skill name="WARDEN_ENERGY_ABSORB"		hotkey="MACRO" priority="80" inbattle="true" hpper="25" />
		<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK"	hotkey="MACRO" priority="90" />
		<skill name="WARDEN_SUMMON_NATURE_CRYSTAL"	hotkey="MACRO" priority="90" autouse="false" />
		<skill name="WARDEN_SUMMON_OAK_WALKER"	  	hotkey="MACRO" priority="90" autouse="false" />
		<skill name="WARDEN_BRIAR_SHIELD"	  	hotkey="MACRO" priority="90" />
		<skill name="WARDEN_POWER_OF_THE_WOOD_SPIRIT"	hotkey="MACRO" priority="100" />
		<skill name="WARDEN_SAVAGE_POWER"		hotkey="MACRO" priority="90" />
		<skill name="WARDEN_POWER_OF_THE_OAK" 		hotkey="MACRO" priority="90" />
		<skill name="WARDEN_ELVEN_PRAYER" 		hotkey="MACRO" priority="90" />
	</skills_warden>

	<skills_druid>
		<skill name="DRUID_RECOVER"          	hotkey="MACRO" priority="90" hpper="30" />
		<skill name="DRUID_EARTH_ARROW"      	hotkey="MACRO" priority="80" />
	</skills_druid>

	<skills_warlock>
		<skill name="WARLOCK_PERCEPTION_EXTRACTION"   	hotkey="MACRO" priority="90" />
		<skill name="WARLOCK_WARP_CHARGE"   		hotkey="MACRO" priority="80" />
		<skill name="WARLOCK_PSYCHIC_ARROWS"   		hotkey="MACRO" priority="70" />
	</skills_warlock>

	<skills_champion>
		<skill name="CHAMPION_FORGE" 		  	hotkey="MACRO" priority="110" />
		<skill name="CHAMPION_RUNE_PULSE"   		hotkey="MACRO" priority="100" pullonly="true" />
		<skill name="CHAMPION_RUNE_DRAW" 	  	hotkey="MACRO" priority="90" pullonly="true" />
		<skill name="CHAMPION_ELECTROCUTION"   		hotkey="MACRO" priority="80" />
		<skill name="CHAMPION_ENERGY_INFLUX_STRIKE" 	hotkey="MACRO" priority="70" />
		<skill name="CHAMPION_HEAVY_BASH"   		hotkey="MACRO" priority="60" />
	</skills_champion>


	<onLoad><![CDATA[]]></onLoad>

	<onDeath><![CDATA[
		-- Additional Lua code to execute on death
		-- pauseOnDeath(); -- Stop the script
		-- player:logout();	-- logout
	]]></onDeath>

	<onLeaveCombat><![CDATA[
		-- Additional Lua code to execute after killing an enemy
	]]></onLeaveCombat>

	<onLevelup><![CDATA[
		-- Additional Lua code to execute after having a levelup
		-- and levelup the skills for a new character (mage or priest recommended)
		-- e.g. sendMacro("SetSpellPoint(_tabnr, _skillnr);"); would levelup a skill
	]]></onLevelup>

	<onSkillCast><![CDATA[
		-- Additional Lua code to execute when casting a skill
		-- Note: arg1 contains the skill being used.
		-- i.e. arg1.Name will be the name of the skill being cast
		-- e.g.:
		--if( 15 > player.HP/player.MaxHP*100 ) then
		--    player:cast("PRIEST_SOUL_SOURCE");
		--elseif( 25 > player.HP/player.MaxHP*100 ) then
		--    player:cast("PRIEST_HOLY_AURA");
		--    player:cast("PRIEST_URGENT_HEAL");
		--    player:cast("PRIEST_URGENT_HEAL");
	]]></onSkillCast>

	<onHarvest><![CDATA[
		-- Additional Lua code to execute directly before the actual harvesting takes place.
		-- Note: arg1 contains the object to be harvested.
		-- i.e. arg1.Name will be the name of the node you are about to harvest
		-- If this snippet returns 'false', the node will *not* be harvested.
		-- All other return values result in the player attempting to harvest the node.
		-- Note that returning 'false' here breaks out of harvesting completely;
		-- You will not attempt to harvest other nearby nodes instead.
	]]></onHarvest>

	<onUnstickFailure><![CDATA[
		-- Lua code to execute when MAX_UNSTICK_TRIALS is reached.
	]]></onUnstickFailure>
</profile>
Please help me

deckelmaho
Posts: 3
Joined: Thu Jan 16, 2014 1:11 pm

Re: GM detection and banning chance reduction

#414 Post by deckelmaho » Thu Jan 16, 2014 1:54 pm

ok, ive seen what i´ve done wrong...

<option name="INV_AUTOSELL_QUALITY" value="white,green,blue,purple" />

now it runs perfect :D

thx

User avatar
L33t_Of_Lag
Posts: 38
Joined: Thu Jan 02, 2014 7:34 am

Re: GM detection and banning chance reduction

#415 Post by L33t_Of_Lag » Sun Jan 19, 2014 8:20 pm

Without reading 21 pages of posts. Firstly, works fine and i have customised it to suit myself.

One issue i find with it,

Are you able to whitelist names for the 'following' option, something similar to the 'ignore whispers from these players' option?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#416 Post by lisa » Sun Jan 19, 2014 8:43 pm

sure, probably a good idea.

find

Code: Select all

				--players
					if settings.profile.options.playerDETECT == true then
						for k,v in pairs(playertable) do
							if v.Name == obj.Name then --name in table already
								playerexists = true
							end
						end
and change it to

Code: Select all

				--players
					if settings.profile.options.playerDETECT == true then
						for k,v in pairs(playertable) do
							for l,m in pairs(friends) do
								if v.Name == m then
									playerexists = true
								end
							end							
							if v.Name == obj.Name then --name in table already
								playerexists = true
							end
						end
This will go through the friends table at the top of the file and basically ignore any names in it, the names must be exact though.

Code: Select all

-- ignores whispers by characters in the friends table, the names must be exact.
local friends = {"someone","someoneelse","whoever"}
Not going to add a file as I don't know where BlubBlab is up to with his version.
This is untested but should work.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
L33t_Of_Lag
Posts: 38
Joined: Thu Jan 02, 2014 7:34 am

Re: GM detection and banning chance reduction

#417 Post by L33t_Of_Lag » Sun Jan 19, 2014 9:22 pm

Cheers, running of the exiting name table will be fine, thanks.

User avatar
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: GM detection and banning chance reduction

#418 Post by gloover » Tue Jan 28, 2014 10:23 am

Hey experts.

As an act of prevention I want to check if anyone of the listed GM's (standard list from the userfunction) is online - if not, enter f.e. the goblin mine.

So I'm using blublabs last version with this profile settings:

Code: Select all

		<option name="GMDETECT"				value="true" /> 	-- enables the GM detection userfunction
		<option name="GMonServer"      		value="logout" /> 	-- possible: logout/pause/relog
		<option name="GMnearbylogout"		value="true" /> 	-- If a GM is close to the character it will log out.
		<option name="PAUSEONGM"			value="0" />  		-- Pauses when GM whispers for value in seconds. ie 300 = 5 minutes
		<option name="RECALL"				value="true" /> 	-- if in combat while pausing it will use recall and whisper/logout
		<option name="GMPAUSETIME"      	value="60" />  		-- Pauses when GM is on server. ie 300 = 5 minutes
		<option name="GMRELOGETIME"      	value="60" />  		-- RELOG time when GM is on server. ie 300 = 5 minutes		
		
		<option name="playerDETECT"      	value="true" /> 	-- enables the player detection userfunction
so running in goblin mine the bot did a logout saying "GM... detected", but it was allready to late - the GM had seen my character. So why has "GMonServer" not worked as planned?
How often the searchGMList() will be called? It was one of the listed GM names! BTW: he was lvl 82 not 85 as suggested. My intention is to check the whole list of GM's, then getting OK (if noone of em ist online) continue the bot running. Does Blublabs version this checks continuously or once at the function start?

artosaari
Posts: 15
Joined: Sat Mar 16, 2013 7:59 am

Re: GM detection and banning chance reduction

#419 Post by artosaari » Tue Jan 28, 2014 11:40 am

This GmonServer option never worked for me when I have tested it with the testchar. It never worked for the real GMs aswell, since i got caught several times the last few weeks. The only thing it does, it logs out when you are whispered by a GM. I am not an expert, but by having a look on the userfunction, i think that is what it is supposed to do? The GMNearby option actually wokrs as intended but since you never see them when they are watching you, i don't think you can detect them.

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: GM detection and banning chance reduction

#420 Post by BlubBlab » Tue Jan 28, 2014 2:10 pm

At the default searchGMList() will not called automatically because it take too long to check all GM in the mean time you would run against a wall or so.

I posted It earlier that you have to put searchGMList() in your waypoint file so that It will be called repeatedly.

I work on a method to make a watchdog that inform your farm character if a GM goes on.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Locked

Who is online

Users browsing this forum: No registered users and 7 guests