Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 03:08

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

Advertisement



GWCA Rendering?

Discussion on GWCA Rendering? within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
Deset's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 760
Received Thanks: 204
GWCA Rendering?

Hey Leute,

ich habe folgendes Problem:

Um meine Bots um einiges effektiver zu machen, wollte ich das Rendering einbauen.

Problem 1 dank Killerzwerk gelöst

Nun wenn dieses Problem gelöst ist, stellt sich das nächste:

Damit ich für jeden Acc nicht den Bot kopieren und die Source veränder, wollte ich einbauen dass das Rendering via Button angeht, doch das will auch nicht wie ich will..

PHP Code:
#include <GWCAConstants.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

Global $EngineHook "OFF"

#Region ### START Koda GUI section ### Form=
$cGUI GUICreate("Bot Name"400150246147)
GUISetBkColor(0x33FFFF)
$Group1 GUICtrlCreateGroup("CharacterName"104515344)
GUICtrlCreateInput(""1122113719BitOR($ES_CENTER,$ES_AUTOHSCROLL))
GUICtrlSetColor(-10x000000)
GUICtrlSetBkColor(-10xFFFFFF)
GUICtrlCreateGroup("", -99, -9911)
$BotRadio GUICtrlCreateRadio("Bot"8608917)
$StartButton GUICtrlCreateButton("Start"104597341$WS_GROUP)
$ExitButton GUICtrlCreateButton("Exit"184597341$WS_GROUP)
$RenderingButton GUICtrlCreateButton("Rendering"280597341$WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$StartButton
            
If GUICtrlRead ($BotRadio) = 1 Then
                Fastwayout
()
                While 
1
                    Bot
()
                
WEnd
            
EndIf
        Case 
$RenderingButton
            Rendering
()
        Case 
$ExitButton
            ToggleExit
()
    EndSwitch
WEnd

Func Rendering
()
    
Select
        
Case StringUpper($EngineHook) = "ON"
            
Cmd($CA_SETENGINEHOOK0)
            Global 
$EngineHook "OFF"
        
Case Else
            
Cmd($CA_SETENGINEHOOK1)
            Global 
$EngineHook "ON"
    
EndSelect
EndFunc 
Ich hoffe ihr könnt mir helfen

schonmal jetzt ein gaaaaaaaaaaaanz großes Danke

LG
Deset is offline  
Old 05/20/2010, 19:46   #2
 
Valvepro's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 374
Received Thanks: 198
Quote:
Originally Posted by Deset View Post

PHP Code:
#include <GWCAConstants.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

Global $EngineHook "OFF"

#Region ### START Koda GUI section ### Form=
$cGUI GUICreate("Bot Name"400150246147)
GUISetBkColor(0x33FFFF)
$Group1 GUICtrlCreateGroup("CharacterName"104515344)
GUICtrlCreateInput(""1122113719BitOR($ES_CENTER,$ES_AUTOHSCROLL))
GUICtrlSetColor(-10x000000)
GUICtrlSetBkColor(-10xFFFFFF)
GUICtrlCreateGroup("", -99, -9911)
$BotRadio GUICtrlCreateRadio("Bot"8608917)
$StartButton GUICtrlCreateButton("Start"104597341$WS_GROUP)
$ExitButton GUICtrlCreateButton("Exit"184597341$WS_GROUP)
$RenderingButton GUICtrlCreateButton("Rendering"280597341$WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$StartButton
            
If GUICtrlRead ($BotRadio) = 1 Then
                Fastwayout
()
                While 
1
                    Bot
()
                
WEnd
            
EndIf
        Case 
$RenderingButton
            Rendering
()
        Case 
$ExitButton
            ToggleExit
()
    EndSwitch
WEnd

Func Rendering
()
    
Select
        
Case StringUpper($EngineHook) = "ON"
            
Cmd($CA_SETENGINEHOOK0)
            Global 
$EngineHook "OFF"
        
Case Else
            
Cmd($CA_SETENGINEHOOK1)
            Global 
$EngineHook "ON"
    
EndSelect
EndFunc 
Zu deinem 2. Problem... das ist normal das es nicht geht, weil du in einer schleife befindest sobalt du einen bot startest... siehe

Case $StartButton
If GUICtrlRead ($BotRadio) = 1 Then
Fastwayout()
While 1
Bot()
WEnd

EndIf

Um dieses problem zu lösen versuchts mal mit AdlibRegister.... so in etwa..
Case $StartButton
If GUICtrlRead ($BotRadio) = 1 Then
Fastwayout()
AdlibRegister("Bot")
EndIf



sooooo long
Valvepro is offline  
Thanks
1 User
Old 05/20/2010, 19:52   #3
 
Deset's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 760
Received Thanks: 204
was macht dieses Register genau?

ersetzt es die While Schleife bei dem Bot?

oder würde es auch so gehen?
If GUICtrlRead ($BotRadio) = 1 Then
Fastwayout()
while 1
Bot()
WEnd
EndIf
Deset is offline  
Old 05/20/2010, 20:21   #4
 
PenGuin :O's Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 1,778
Received Thanks: 1,222
AdlibRegister ruft eine Funktion in einer von dir angegebenen Zeit auf.
PenGuin :O is offline  
Thanks
1 User
Old 05/20/2010, 20:24   #5
 
Killerzwerg829's Avatar
 
elite*gold: 30
Join Date: Feb 2009
Posts: 1,296
Received Thanks: 451
Falls es dir hilft:

Hatte erst vor kurzem das selbe Problem, wie du.
Killerzwerg829 is offline  
Thanks
1 User
Old 05/20/2010, 20:57   #6
 
Deset's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 760
Received Thanks: 204
Quote:
Originally Posted by Valvepro View Post
Um dieses problem zu lösen versuchts mal mit AdlibRegister.... so in etwa..
Case $StartButton
If GUICtrlRead ($BotRadio) = 1 Then
Fastwayout()
AdlibRegister("Bot")
EndIf
klappt bei mir jetzt iwie nicht..

Beim Bot siehts jetzt so aus:
Hab auch des letzte While versucht wegzulassen doch dann blinkt des GUI nur kurz auf..

PHP Code:
While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$StartButton
            
If GUICtrlRead ($SchwertlilienRadio) = 1 Then
                AdlibRegister
("Schwetlilien")
            ElseIf (
$SkullRadio) = 1 Then
                AdlibRegister
("Skull")
            ElseIf 
GUICtrlRead ($SteinelementarRadio) = 1 Then
                AdlibRegister
("Steinelementar")
            EndIf
        Case 
$ExitButton
            ToggleExit
()
        Case 
$RenderingButton
            Rendering
()
    EndSwitch
WEnd 
Deset is offline  
Old 05/20/2010, 21:16   #7
 
Killerzwerg829's Avatar
 
elite*gold: 30
Join Date: Feb 2009
Posts: 1,296
Received Thanks: 451
Du hast bei dem Skull das GUICtrlRead vergessen. Möglichwerweise liegs daran.
Killerzwerg829 is offline  
Old 05/20/2010, 21:20   #8
 
Deset's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 760
Received Thanks: 204
wenn es daran liegen würde, würde es doch nur nicht beim skull-bot funktionieren, oder?
Deset is offline  
Old 05/21/2010, 22:07   #9
 
PenGuin :O's Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 1,778
Received Thanks: 1,222
Kann auch daran liegen, dass du zuviele AdlibRegster aufrufen könntest : /
PenGuin :O is offline  
Old 05/22/2010, 07:39   #10


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Lol wieso nimmst du strings für On/Off? o0
Das ist ein standard-boolean !!!1!
buFFy! is offline  
Old 05/22/2010, 07:52   #11
 
Deset's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 760
Received Thanks: 204
Quote:
Originally Posted by u-coRe View Post
Lol wieso nimmst du strings für On/Off? o0
Das ist ein standard-boolean !!!1!
weil ich ein scheiß noob bin? ^^

ich habe die Renering func aus dem vaettir bot, wo nur die source vor liegt..

habe XX seiten abgesucht und keine andere Rendering func gefunden.

falls du so nett wärst zu erklären was du genau meinst, bzw wie ich das prob lösen kann, wäre ich dir dankbar ^^
Deset is offline  
Old 05/22/2010, 08:38   #12


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
boolean kann nur true oder false sein. also 1/0.. zahlen sind doch viel leichter zu interpretieren als on/off.. ^^
buFFy! is offline  
Thanks
1 User
Old 05/22/2010, 08:48   #13
 
elite*gold: 100
Join Date: Oct 2007
Posts: 738
Received Thanks: 485
u-Core in einer Script Sprache wie AutoIt ist das völlig egal!
ddl is offline  
Old 05/22/2010, 08:48   #14
 
Deset's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 760
Received Thanks: 204
achso okay, danke ^^

aber wenn ichs auf 1/0 änder anstatt auf On/Off ändert sich doch nichts am prob, oder?
Deset is offline  
Old 05/22/2010, 08:54   #15
 
elite*gold: 100
Join Date: Oct 2007
Posts: 738
Received Thanks: 485
Quote:
Originally Posted by DDL View Post
u-Core in einer Script Sprache wie AutoIt ist das völlig egal!

Wie gesagt nein, aber ich würde das Global davor mal weglassen!
ddl is offline  
Reply


Similar Threads Similar Threads
[Rendering Service]Cheap rendering service ^^
08/16/2010 - elite*gold Trading - 17 Replies
Hello e*pvpers! Today I want to start a rendering service. *+ What is that? If you liked screenshot from a game and there's a character on it,for example you've made screenshot of an Altair from Assassin's Creed murdering someone and you want your character without background,just Altair. That's render. Examples:
Sony Vegas 9.0 Rendering Problem..
09/05/2009 - Technical Support - 4 Replies
Wie der Titel schon sagt, habe ich ein Problem mit Sony Vegas 9.0 und zwar beim Rendern von Videos! Was ich mache: Ich erstelle das Video. Ich klicke auf Rendern als. Ich warte auf den Ladebalken der dann kommt aber auf 0% bleibt.. Und die dauer steigt immer nur.. Nach 40 Minuten hatte ich dann immernoch 0%.. woran kann das liegen? :S Wäre echt geil wenn jemand die Lösung weiß!
Sony Vegas 9.0 Rendering Problem.. :S
08/29/2009 - Off Topic - 0 Replies
Hi alle miteinander ! Ich hab ein Problem beim Rendern von Videos bei Sony Vegas 9.0 ... Wenn ich es rendern will, bleibt der Ladebalken immer bei 0% und die dauer wird immer größer o.ô habe schon viele Formate ausprobiert aber bei allem kommt das gleiche.. Hat jemand vllt. die Lösung? :S Wäre echt geil.. Ich will nämlich mein erstes Video gleich bei Youtube reinstellen.. Gibt natürlich auch ein Thx.. :) MfG dermetinsuchtii



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


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.