Register for your free account! | Forgot your password?

You last visited: Today at 21:10

  • Please register to post and access all features, it's quick, easy and FREE!

 

Hellgate: Global API

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 15
Received Thanks: 9
Smile Hellgate: Global API

Hi,

we just released the first version of our hellgate globlal lua api dll injection addon.
The api is designed to control the game through lua. I would
like to ask some hellgate players to test it

Features:
- player movement, attack(inclusive skills on bar) and aiming
- inventory interaction(item move in inventory, dismantle, delete item, pickup)
- events like monster move and monster attack, collision detection (for movement)
- autologin and character selection

Some example script snippets are also included, so starting the development of
own scripts should be easy. Look at our page for the complete Lua doc.

Heres the link:


feel free to ask for features or ideas we should add.

I would also like to get all information about current bugs

Greetz Defragger



defragger is offline  
Old   #2
 
elite*gold: 0
Join Date: Jul 2008
Posts: 2
Received Thanks: 0
Here is my pickit script:

This is in my config.lua

Code:
--- pickit and auto dissmantler
-- @param quality the quality uppon to grab items. others are dismantled
function pickit(quality)
   if pickit_handle then
      unregister(pickit_handle);
      pickit_handle = nil;
   end


   if not quality then
      quality = 3;   -- grab rare+ items
   end

   local text = "UNKOWN";
   if quality == 1 then text = "NORMAL" end
   if quality == 2 then text = "ENHANCED" end
   if quality == 3 then text = "RARE" end
   if quality == 4 then text = "LEGENDARY" end
   if quality == 5 then text = "UNIQUE" end
   if quality == 6 then text = "LEGENDARY" end
   if quality == 6 then text = "SET" end
   if quality == 6 then text = "MYTHIC" end
   printf("pickit itemqualit(%i): %s", quality, text);

   pickit_handle = register(event.ITEMDROP,
      function(e)
      
			local obj = e.obj;
	        local pkItemQty = obj.quality;

			 if obj.model == "cube_ingredient_02" or obj.model == "gold" then
			    pkItemQty = 6;
			 end

			 if string.find(obj.model,"blueprint")  then
			    pkItemQty = 0;
			 end

	         if pkItemQty > 1 then

	         	printf("picked up(%i): %s", obj.quality, obj.model);
	         	 -- only dismantle bigger items with known quality
		         if obj.quality >= 1 and pkItemQty < quality then
		            --hell_env_dismantleObj_C(obj.id);
		            --printf("auto dismantle(%i): %s", obj.quality, obj.model);
		            pickit_delay = pickit_delay + 1000;
                    splashMessage("auto dismantled "..obj.model);
                    delay(pickit_delay,
						function(e)
                        dismantleID(obj);
					end);
					
					
				else
					hell_env_grabItem_C(obj.id);
		         end
	        else
	         	printf("Seen (%i): %s", obj.quality, obj.model);
	         end


   end);
end

config.pickit(3)

function dismantleID(obj)
 	hell_env_grabItem_C(obj.id);
 	printf(os.time().."auto dismantle(%i): %s", obj.quality, obj.model);
	hell_env_dismantleObj_C(obj.id);
    pickit_delay = pickit_delay - 1000;
end


SKiLLsSoLon is offline  
Old   #3
 
elite*gold: 0
Join Date: May 2011
Posts: 15
Received Thanks: 9
release 1.1 with palladium spamfilter

Hi,

release Version 1.1 was made:

key features of V1.1:
- ingame gold/palladium SPAM-FILTER
- windows installer added
- bugfixes

check project site for details:


cheers,
defragger

... attached the improved pickit code for auto dismantling. insert this in config.lua
Code:
--
-- PICKIT
--
local pickit_handle = nil;

--- pickit and auto dissmantler
-- @param quality the quality uppon to grab items. others are dismantled
function pickit(quality)
    if pickit_handle then
        unregister(pickit_handle);
        pickit_handle = nil;
    end

    if not quality then
        quality = 3;    -- grab rare+ items
    end

    printf("PICKIT[%i] activated", quality);

    pickit_handle = register(event.ITEMDROP,
        function(e)
            local obj = e.obj;
            hell_env_grabItem_C(obj.id);

            -- skip some items at all
            if obj.model == "gold" or obj.model == "analyzer" or string.find(obj.model, "medpack") or string.find(obj.model, "powerpack") then
                return;
            end

            -- trash low budget blueprints
            if string.find(obj.model, "_blueprint") and obj.quality >= 1 and obj.quality < quality then
                printf("PICKIT[%i]: delete %s", obj.quality, obj.model);
                hell_env_deleteObj_C(obj.id);
                return;
            end

            -- only dismantle bigger items with known quality
            if obj.quality >= 1 and obj.quality < quality then
                printf("PICKIT[%i]: dismantle %s", obj.quality, obj.model);
                hell_env_dismantleObj_C(obj.id);
                return;
            end

            -- identify remaining unidentified objects
            if not obj.getTats("identified") or not obj.getTats("identified") == 1 then
                printf("PICKIT[%i]: identify %s", obj.quality, obj.model);
                hell_env_identifyObj_C(obj.id);
            end
        end
    );
end

-- delay initial activation of pickit
delay(1000, function()
     pickit()
end);
defragger is offline  
Old   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 15
Received Thanks: 9
---


defragger is offline  
Old   #5
 
elite*gold: 0
Join Date: May 2011
Posts: 15
Received Thanks: 9
Again another update of the client,
please visit for update


new features:
- set difficulty
- md5sum check for the binary
- removed winject from the project (no false virus warning now )
- reset instance
- windows vista should work now
- improved spamfilter regex set
- astar routing module

greetz defragger
defragger is offline  
Old   #6
 
elite*gold: 0
Join Date: Nov 2010
Posts: 605
Received Thanks: 109
hi can someone help me with the setup of this program?
the spamfilter works well but i have no clue about the
other plugins.

thx for help loki
loki-d2 is offline  
Old   #7
 
elite*gold: 0
Join Date: May 2011
Posts: 15
Received Thanks: 9
---
defragger is offline  
Old   #8

 
elite*gold: 61
Join Date: Mar 2008
Posts: 954
Received Thanks: 250
I understand this how to use this "tool" ?
Can you make a german tutorial? or english tutorial?


Madonis is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Biete] Hellgate Global acc
mit 28.000 Tcoins 28.000 = 20€ Diese Games sind bei t3fun With Your Destiny http://www.youtube.com/watch?v=v24-4lb1YPw Cardmon Hero...
8 Replies - Trading
WTS Hellgate Global Account - Lvl50 Rank12 MM + Over 24 Million Palladium - Low Price
I am selling a Hellgate Gobal Account with a level 50, rank 12 Marksman and over 24 million Palladium. I accept Pay Pal only. Screenshots of...
6 Replies - Trading
[B] Hellgate Global Account
Verkaufe hier meinen Hellgate Global Account. Er besitzt 2x lvl 55 chars. Ein 55/17 Evoker und ein 55/10 BM. Beide weiblich und mit normalen namen. ...
0 Replies - Trading
Hellgate Global – Videos zur Charakter-Erstellung veröffentlicht!
http://img.rulezzx3.de/pics/4decf0940267f.gif Die Closed-Beta von Hellgate Global läuft nun schon drei Tage. Aus diesem Grund wurde nun...
1 Replies - User Submitted News



All times are GMT +1. The time now is 21:10.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.