| bc problems | |
|
|
Author | Message |
---|
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: bc problems Sat 15 May 2010, 15:06 | |
| Hi guys I've got some problems with bc. First thing is, I don't get any errors, that's nice but I don't get XP for any pupils and the program creates just pupils on startup. That means just 2 pupils totally, my IP changes yes. | |
|
| |
AndreiTM * * * * * * * * * *
Posts : 1432 Join date : 2009-11-14 Location : RO
| Subject: Re: bc problems Sat 15 May 2010, 16:29 | |
| | |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sat 15 May 2010, 16:41 | |
| | |
|
| |
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: Re: bc problems Sat 15 May 2010, 16:48 | |
| Yes, i got dynamic ip and sioc your thread doesn't help me srry | |
|
| |
AndreiTM * * * * * * * * * *
Posts : 1432 Join date : 2009-11-14 Location : RO
| Subject: Re: bc problems Sat 15 May 2010, 17:01 | |
| Create a reconect.bat file | |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sat 15 May 2010, 17:14 | |
| - Chillkroete wrote:
- Yes, i got dynamic ip and sioc your thread doesn't help me srry
Oh nice. Then that's a new problem I haven't identified yet. Please post below the exact output from BC when you click on "CrƩation automatique". | |
|
| |
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: Re: bc problems Sat 15 May 2010, 17:50 | |
| | |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sat 15 May 2010, 17:57 | |
| Could you tell us what was the problem so that I may update the FAQ? | |
|
| |
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: Re: bc problems Sat 15 May 2010, 18:03 | |
| Ok, my mistake I overread a FAQ of yours, but even when I followed it now, it doesn't work. Here a pic - Spoiler:
| |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sat 15 May 2010, 18:19 | |
| As andreitm89 suggested, did you create a reconnect.bat file? In other words, what do you have in your config.xml file in the row just after: - Code:
-
<bean id="ipResetter" class="labrute.ip.ExternalIPResetter">
Do you have something like this: - Code:
-
<property name="command" value="RouterReconnect.bat"/>
If yes, what did you put in your reconnect.bat file? | |
|
| |
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: Re: bc problems Sat 15 May 2010, 19:04 | |
| - Code:
-
<bean id="ipResetter" class="labrute.ip.ExternalIPResetter"> <property name="command" value="resetIP.bat"/> </bean>
and in my resetip.bat is: - Code:
-
ztnbatch.exe -h 192.168.1.1 -p routerpassword -c "poe drop poe0" -c "dev dial 1" -silent -EXIT
And when i exec that resetip.bat my ip gets changed | |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sat 15 May 2010, 19:51 | |
| - What is your IPGetter? Can you try with
- Code:
-
<property name="url" value="http://users7.jabry.com/siocip/"/>
- If you still have that error, did you change anything to GFX.js and Name.js? If yes, can you try to reuse the original files from the installation package?
- If you still get the error, can you go through your config.xml file in order to check if the master names are correct, servers are correct, and if you didn't introduce a xml error somewhere?
- If you still get a ERROR NULL, can you try to put a fake reconnect.bat like for example
- Code:
-
echo Fake IP resetter
Do you then still get the ERROR NULL? If not it means there's a problem with your IP reset routine and you should fine tune it in order to get rid of the error, or the delay between two consecutive resets may be too short (see next point).
- What is your delay between consecutive resets? If you increase it a bit do you still get the error? It may be that it is too short and the router cannot fully proceed with the reconnect routine.
| |
|
| |
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: Re: bc problems Sat 15 May 2010, 23:19 | |
| 1. I tried with both IPgetters you proposed in FAQ, doesnt changed anything. 2. No, I didnt changed anything. 3. Everything is correct I think, here is my code: - Spoiler:
- Code:
-
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
<bean id="creationKeyGenerator" class="labrute.creation.WebCreationKeyGeneratorImpl" > <constructor-arg ref="connectionManager" /> <constructor-arg value="http://brutalcombo.somee.com/create.aspx" /> </bean> <bean id="fightKeyGenerator" class="labrute.fight.EncodedFightKeyGeneratorImpl" />
<!-- <bean id="nameGenerator" class="labrute.name.RandomNameGeneratorImpl" />
<bean id="gfxGenerator" class="labrute.gfx.RandomGfxGeneratorImpl" /> --> <bean id="nameGenerator" class="labrute.name.JavaScriptNameGeneratorImpl"> <property name="sourceFile" value="Name.js" /> </bean>
<bean id="gfxGenerator" class="labrute.gfx.JavaScriptGfxGeneratorImpl"> <property name="sourceFile" value="GFX.js" /> </bean> <bean id="pupilCreator" class="labrute.creation.PupilCreator" autowire="constructor"/> <bean id="createPupilsMI" class="labrute.ui.CreatePupilsMenuItem" autowire="constructor"> <property name="labelKey" value="menu.pupilCreation"/> <property name="delay" value="10" /> <property name="template1"> <bean class="labrute.creation.PupilTemplate"> <property name="domain" value="COM" /> <property name="master" value="iynxza" /> <property name="password" value="my_password" /> </bean> </property> <property name="template2"> <bean class="labrute.creation.PupilTemplate"> <property name="domain" value="" /> <property name="master" value="" /> <property name="password" value="" /> </bean> </property> </bean> <bean id="ipResetter" class="labrute.ip.ExternalIPResetter"> <property name="command" value="resetIP.bat"/> </bean> <bean id="ipGetter" class="labrute.ip.WebServiceIPGetter"> <property name="url" value="http://www.whatismyip.com/automation/n09230945.asp"/> <property name="pattern" value="(\d+\.\d+\.\d+\.\d+)"/> </bean> </beans>
4. Here is a screenshot of it when I changed to fake IP resetter. - Spoiler:
| |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sun 16 May 2010, 06:37 | |
| ... you didn't specify a second master in config.xml just below <property name="template2">, hence the ERROR NULL ... FAQ updated thanks to your input. | |
|
| |
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: Re: bc problems Sun 16 May 2010, 13:09 | |
| Ok, ty. But I still dont get xp for pupils... even for yours | |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sun 16 May 2010, 13:20 | |
| - Chillkroete wrote:
- But I still dont get xp for pupils... even for yours
Can be... ;-) But now that's definitely explained in the FAQ. | |
|
| |
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: Re: bc problems Sun 16 May 2010, 14:23 | |
| Then i got another question, why does he just lvl my pupils for the FR mybrute and not for the COM one. For the COM one he is doin it just sometimes, i mean on creation and how to use "brute sur mesure" and last why doesnt he lvl mybrutes, i mean after creation when i click on combat, there is this green loading bar and it runs through but nothing happens | |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sun 16 May 2010, 14:47 | |
| Do you have enough opponents at the required levels? Did the opponents load up properly when at BC startup? (see the FAQ for more explanations and for the answer to your last question) The use of "Brute sur mesure" is explained in BC tutorial, and really not difficult to test out by yourself. Moreover there are tons of posts about that here on the forum (GFX code).
Good luck and happy hunting. | |
|
| |
Chillkroete * * *
Posts : 22 Join date : 2010-05-14
| Subject: Re: bc problems Sun 16 May 2010, 17:57 | |
| Yeah, all brutes loaded correctly, but what should appear when i click "Combats" for me nothin happends, just that green bar. | |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: bc problems Sun 16 May 2010, 20:39 | |
| Read FAQ. Initial problem of this post solved therefore locking down topic. | |
|
| |
Sponsored content
| Subject: Re: bc problems | |
| |
|
| |
| bc problems | |
|