Advertisement

Welcome Guest ( Log In | Register )


10 Pages V  1 2 3 > »   
Closed TopicStart new topic
> 6.48b AI+ 1.52 bugs, Lets make them organized
Rating  5
lazyfiend
post Jan 21 2008, 06:57 AM
Post #1



Novice
Group Icon

Group: Forum Contributors
Joined: 27-January 07
Member No.: 610,136
Bnet Name: lazy
Bnet Realm: none





Yeah, 1.52 is a beta. Not only are there bugs, but there are also a ton of untested things and things that i don't give importance.

I may be inactive for a long time, but i will try to collect as much info here if i have time.

UPDATE!
i decided to search some random forums about map making and discovered 2 things:

1) Vexorian's map optimizer i am using is outdated (well this is obvious, i''m just too lazy to update). In the changelog seems like the optimizer have problem w/ maps that have many global variables

2) Discovered that boolexpr is stored in some table so that future uses of it need not create a new boolexpr. I have been treating boolexpr as normal handles and trying to dispose them after every use. (shows that reading blizzard.j to learn jass is more harmful than expected)

Of course ill verify it if i have time


1) FATAL ERRORS!!!

I am already aware of Lanaya causing an error (i thought i fixed it, see my post on 6.43b AI+). I believe it's from Meld. As i have played 3 5v5 sh Lanaya game w/o fatal error when Meld is not used (AI and humans). I have a fatal error when Psi Trap is not used (but Meld is). The same for Refraction. The Error is from the hero, not from AI (so human or ai gets the error). Icefrog's code w/ Meld is clean enough, save for destroying an already destroyed trigger, which when i removed have played a 5v5 sh Lanaya game w/o errors. Well due to time constraints, i concluded that it is fixed (well now we know its NOT).

So does all fatal errors come from Lanaya? Axe, Ursa fixed??

If you ever experience an error, please do tell all heroes present. Not things like "after 30 minutes and w/ a record of [very high]-[very low] it crashed!! (its extremely common to own AI...)". I have recently discovered that a fatal error does not happen due to some action, but due to some leak created in an earlier action that sort of destroyed something that is accessed to the moment of the error, otherwise it is VERY EASY to detect.

For the map experts (i need help i still consider myself a novice w/ jass), anything that can cause errors?:
-I do not use vJass (i never am interested w/ map making)
-I never destroy any location or group (except w/ the ai commands), nor do I create them when i need them, i have pre-allocated locations/groups that i use.
-I use a 2 second and 1 second continous trigger that uses ExecuteFunc to give commands for the ai
-I never use TriggerSleepAction when setting an ability to become available and using them
-I use an array to hold many things, like 15+ different variables each for the ai hero - indexed by multiples of 16. (ex. somearray[160+GetPlayerId(someaiplayer)] to access something)
-let us say that an ai is trying to use a skill (order is done), then i set it to unavailable, will that be an error?

If you want to help, try to play 5v5 sh games w /some heroes you think that will crash the game.

A possibility of a crash due to the ai core engine may be possible, but unlikely since i and the betatesters have been playing with it and only experienced errors w/ lanaya.


2) Techies lay mines in the fountain
I have Techie lay a mine in front of vulnerable ally towers. LOL

3) Charging w/ 5 heroes etc.
Are they attacking weak enemies? Are they trying to do something? Are they ganked or something? It's not clear if i do not know what are they trying to do. I am trying to stop this problem.

4) 1 minute RD(or is it another mode?) laning delay.
Whoops sorry, i never play it.

5) Problem with -nb, -nm, -nt
Yes i know this (i choose not to give time to this). Sorry for not telling people. This AI have no support for these modes. -om works fine.

6) AI does not help you.
Try -aid. This is wierd since i merged ai's teamwork script from the human. Okay, i checked the code and they would only respond if you let the spell finish - meaning finish the casting animation. (Some spells do not wait for it, those spells that the bots cancel the animation). But i am sure that AI's have better teamwork w/ you here than 6.43b AI+.

7) AI (rarely) uses flask incorrectly
I just copied 6.40 AI+ codes from using flasks. I'll check it.

8) The crash w/o the crash screen error
I have to say it's in the coding, and unlike fatal errors, it happens on the spot the problem occurs (mostly an infinite w/ the triggers - and for me it only happens to "order" triggers). I'll check it if i have the time, but it's better if i have an idea to what every hero is doing before the crash.

Added 1/24/08
9) Siege Golem does not pop up in -mc
I didn't test it when i ported it. Whoops

Thank you to all who reported errors

This post has been edited by lazyfiend: Jan 25 2008, 08:44 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
crazylaman
post Jan 21 2008, 07:26 AM
Post #2



Newbie
*

Group: Members
Joined: 1-July 06
Member No.: 351,614
Bnet Name: crazylaman
Bnet Realm: Azeroth





AIs always push up the middle lane!!
I can make a lot of money when I push the right or lift lane...
Please Fix it~~
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
holy-vash
post Jan 21 2008, 07:30 AM
Post #3



Don't look now, but someone's trying to stab u
Group Icon

Group: Moderators
Joined: 29-June 07
From: ASF499
Member No.: 817,870
Bnet Name: killer
Bnet Realm: none





I'm not a jass programmer but I adequately know about C, Java, C++, and such. All of them react so "unfriendly" (like giving unclear message why/where the error happened) to a false memory/pointer access. So I would point out the arrays you used to be inspected again as the possible cause of most fatal errors.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mario_yohanes
post Jan 21 2008, 07:49 AM
Post #4



Member
***

Group: Members
Joined: 13-February 06
From: Bandung, Indonesia
Member No.: 110,977
Bnet Name: mro_id
Bnet Realm: none





i have experienced using JASS to create AI script on my own map but it's like hero siege map, not DOTA.

but i have many experiences with Java.

here my thought:
- Fatal error cause by memory leak and some thread deadlock cause by AI, specially when more than 1 AI casting massive spells.
- Resources from previous game(if any) sometimes not releases, i discover this from hex editor, and some of code from 1st game(when I play 2nd game without restarting wc3) still laying in memory, and cause my first thought...cmiiw

I'll post more bug from your new AI version...

Glad you came back...thanks a lot for this map...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
c0reldraw
post Jan 21 2008, 08:36 AM
Post #5



Member
***

Group: Members
Joined: 25-February 06
Member No.: 142,212
Bnet Name: c0reldraw
Bnet Realm: none





IMO we need someone to organize this thread.
so we could sent lazyfiend all the bugs periodicly and organized.
so he doesnt read the same bug reported by xxx-number of people
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
lazyfiend
post Jan 21 2008, 08:50 AM
Post #6



Novice
Group Icon

Group: Forum Contributors
Joined: 27-January 07
Member No.: 610,136
Bnet Name: lazy
Bnet Realm: none





QUOTE(mario_yohanes @ Jan 21 2008, 11:49 PM) *

- Fatal error cause by memory leak and some thread deadlock cause by AI, specially when more than 1 AI casting massive spells.
- Resources from previous game(if any) sometimes not releases, i discover this from hex editor, and some of code from 1st game(when I play 2nd game without restarting wc3) still laying in memory, and cause my first thought...cmiiw


QUOTE
So I would point out the arrays you used to be inspected again as the possible cause of most fatal errors.


Hmm, that's interesting. I just realized (LOL) that i did not initialize many variables so i guess that might help.

Anyway, array size in jass is always 8192. So out-of-bounds errors are not likely.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
_w!ck3d_
post Jan 21 2008, 09:32 AM
Post #7



Newbie
*

Group: Members
Joined: 9-September 06
Member No.: 457,184
Bnet Name: _w!ck3d_
Bnet Realm: none





Thanks RGB for the effort... anyway ill report a bug of exit-to-desktop without error message. In my experienced this happened when lanaya is in the game and AI controlled. Actually, i dont have much time to play dota this week so i must admit that i played this AI version not that much. But i hope this will help, here are the scenarios...

1st crash- actually i didnt remember all the heroes i used because am not aware that a crash could happen.. but i remember the mode it is -apne and lanaya is AI controled here

2nd crash- 3 vs 3, i want to try the new heroes with AI so what i did is -pa "Lanaya and Storm Spirit" and -pe "Ish`kafel, pit lord and undying" im using kardel. after 15mins of gameplay it crashed without fatal error message. no modes here

3rd crash- 3 vs 3 no modes again, im curious if lanaya is really the one who's causing this exit-to-desktop problem so what i did is i -pa "lanaya and bounty hunter" and -pe "venomancer, and two old heroes from the scourge (sorry i forgot the other 2 heroes)" i used rigwarl and i just watch lanaya... i didnt move at all. after 30 mins of gameplay it seems like the game will not crash and we're losing! (ofcourse biggrin.gif) so what i did is i use "greedisgood" just to add fun in the game... my ally heroes bought items and then i just watched lanaya again, she is just walking from the lower lane going to the midlane to defend from the creeps and then the game crashed without error message.

After that i dont want lanaya to be in my game again smile.gif hehe... No problem if she's not around.. Ill wait for a fix before i practiced with her again. So for me AI controlled lanaya exit-to-desktop my game without error message thanks again LF.

This post has been edited by _w!ck3d_: Jan 21 2008, 09:34 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Conlan
post Jan 21 2008, 11:15 AM
Post #8



Novice
**

Group: Members
Joined: 2-March 06
Member No.: 153,492
Bnet Name: Conlan
Bnet Realm: Northrend





I have to say my 3 or 4 games of lanaya are all crashed with fatal error(yes everyone knows) but one of them was at about 15-20. minute and it happened instantly when i just clicked 'meld' icon first time. In other games, I just don't know what caused that fatals, they happened randomly
If it's possible, I just really wish this lanaya crash bug fixed. She is my favourite.
Thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kambing86
post Jan 21 2008, 11:33 AM
Post #9



Newbie
*

Group: Members
Joined: 22-August 05
Member No.: 39,076
Bnet Name: kambing86
Bnet Realm: none





I found out that puck (faerie dragon) won't use Illusry Orb at all, so Ethereal Jaunt (teleport to the orb location) also din use at all.
This skill is useful and important to puck, at least use Illusry Orb to attack like using Queen Of Pain's ulti(Sonic Wave). Then use Ethereal Jaunt to escape from enemy.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
noni_53
post Jan 21 2008, 11:40 AM
Post #10



Member
***

Group: Members
Joined: 31-May 06
Member No.: 307,417
Bnet Name: Shorty
Bnet Realm: none





Can we talk about other bugs :

for example yesterday i was playing and puck got stuck below the fountain and stayed the whole game there.

Another time Sand King got stuck in the trees and kept there all game also!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
R3L
post Jan 21 2008, 12:15 PM
Post #11



Newbie
*

Group: Members
Joined: 13-October 07
Member No.: 981,197
Bnet Name: RelmaniaC
Bnet Realm: none





Yes, yesterday I downloaded the map, and today I played it, and tell me, wich heroe did I use?? Yes, you are right, Lanaya. I just wanted an AI+ map of 6.48 or 6.49 to play with lanaya cause she is one of my favourites heroes and I still don't know how to use her well... And after 20-30 minutes from the begining, the Fatal error you mention, occuered... And you are right, it was after using meld for the first time. A minute after using that skill and killing one of the heroes (it was 1v2), a window appears saying fatal error.
Good luck lazyfriend, I hope you can fix it, and soon watch an ai lanaya or play with this hero.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Slichizard
post Jan 21 2008, 12:19 PM
Post #12



Now, its over.
Group Icon

Group: Forum Leaders
Joined: 8-June 06
From: Far Far Georgia
Member No.: 320,383
Bnet Name: Green_Sliche
Bnet Realm: Azeroth





Thanks for making this thread. I guess Jaas expert would help us much, maybe I should ask for one from ( Programer's Conner ).

About Lanaya, sees to me she's the only hero that causes lag with more than 50% chance ( others are fine ), so use Lanaya at your own risk ( Like Ursa , Axe in v6.43 ). Btw in this version they are ok, no problems at all ( tested them, both were beyond godlike ( more than 20 Kills ), game didin't crash ).

About Charging : Yes, that happens, but now less often, ( compared to v6.43 ), still AI commands do help much, ( used them few times ).

About Techie : Right in front of ally tower? Not bad indeed ( good against melee heroes ), yet not the best place for mines indeed. Edit : Now I see, well except the fountain, he places mines only near towers ( or near the place, were it was ). Still he has chance to score a frag with mines ( got up to 3 frags, + 2 from suicide ).

About Team Work : Whole lot better than in v6.43, at least they don't feed you to enemy team, and tend to heal / shield more frequently.

About Stange Error : Surely its because of new heroes, still didn't experience it yet. sad.gif I suggest it may happen during mass battles ( where AI's cast numerous spells at once ). If it will happen to me, I'll report it for sure. unsure.gif

This post has been edited by Green_Sliche: Jan 21 2008, 01:27 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
6Evil6Eyes6
post Jan 21 2008, 01:06 PM
Post #13



Newbie
*

Group: Members
Joined: 22-December 07
Member No.: 1,128,530
Bnet Name: 6Evil6Eyes6
Bnet Realm: Azeroth





Hi there!
I just hope this will help... wink.gif

I had 3 crashes with 6.48 AI but I can only remember the heroes from the last time it crashed.

I was with crystal maiden (using -random)
allies : bristleback, templar assassin, beastmaster, zeus
ennemies: chaos knight, bounty hunter, demon witch, enchantress, morphling
game mode was -apemne

i had nothing else weird like heroes stuck and just to tell you, 6.43 rarely (extremely rarely) crashed when I was playing axe or ursa warrior.

My final words are just keep up the good work, it's really appreciated. I've done some custom maps myself (without AI though) and I know it takes lots of time and testing...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
squashen
post Jan 21 2008, 01:37 PM
Post #14



Member
***

Group: Members
Joined: 27-September 07
Member No.: 944,709
Bnet Name: only Garena (squashen)
Bnet Realm: Northrend





As I mentioned in the other thread - I've tried it about 5 times now, and ALL resulted in fatal errors.
Lanaya was present in all of the games, player-controlled or AI doesn't seem to matter.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tenshinhan DN
post Jan 21 2008, 01:46 PM
Post #15



Spooky
*****

Group: Members
Joined: 22-June 06
From: South Africa
Member No.: 338,676
Bnet Name: .
Bnet Realm: none
Potential: C





PC's with 512 MB of memory lag, and those with a bit higher memory also start lagging after a while. Because of this, I assume there is a trigger (or multiple triggers) that leak. If it's happening in all games, perhaps the leak is in the main AI trigger.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
6Evil6Eyes6
post Jan 21 2008, 02:32 PM
Post #16



Newbie
*

Group: Members
Joined: 22-December 07
Member No.: 1,128,530
Bnet Name: 6Evil6Eyes6
Bnet Realm: Azeroth





I've started an excel worksheet of all my games (hero present, game mode, etc)
and i'll fill it everytime I play... When i'll have enough i will post it here or just copy/paste the results...

I want to say that I haven't experienced lag in the 6.43 & 6.48 version but I got a pretty decent pc so I can't say more on that point...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kevs_12
post Jan 21 2008, 04:22 PM
Post #17



Newbie
*

Group: Members
Joined: 16-August 05
Member No.: 27,417
Bnet Name: kanto.T
Bnet Realm: Kalimdor





also had games that crashed without the error message... if my guess is correct then the new heroes caused it..

1st crash- played -apne with earthshaker... had a storm panda for my teammate

2nd crash-played -apne w/ luna moonfang.. then had a dark seer for a teammate

anyway i can't remember the full lineups because it didn't generate an error log and i played a lot of games yesterday hehe... if i remember correctly the games crashed at about the late 30 to 40 mins of the game
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
leeoku
post Jan 21 2008, 05:11 PM
Post #18



Enthusiast
*****

Group: Members
Joined: 13-October 06
Member No.: 486,734
Bnet Name: leeoku
Bnet Realm: none
Potential: R





1. as mentioned above only push mid
2. i have never seen pudge make a succesful hook let alone use it
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
-JeveR-
post Jan 21 2008, 06:37 PM
Post #19



Newbie
*

Group: Members
Joined: 24-November 07
Member No.: 1,073,830
Bnet Name: Dracula
Bnet Realm: Lordaeron





well... I've had two fatal errors, I'm sorry but I don't remember all the heroes, one was with drown ranger and the other was with Spirit Breaker, right after I've did a "Quadriple" Kill........
It happened the that usually happens when a played with Axe in 6.43bAI
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Overflow_GR
post Jan 21 2008, 07:08 PM
Post #20



You have no idea.
*****

Group: Members
Joined: 4-June 06
From: Greece
Member No.: 312,970
Bnet Name: Overflow_GR
Bnet Realm: Northrend
Potential: C





@Sliche: About exit-to-desktop, it's nothing special dude. Imagine a fatal error situation without the error and without CPU going crazy, that's pretty much it.

@Tenshinhan: Uh-oh, I got 512 MB RAM but other than that my pc's pretty decent. oops.gif Are we talking about real lag or bad frame rates? I've only played 6.48b AI+ on single player and it runs really smooth, should I worry about LAN?

@leeoku: lazyfiend has already said that he hasn't fixed some heroes' AI, including Pudge.

Edit: Going a bit out of topic, Lanaya has lots of fans to my dismay, I find her annoying lol.

This post has been edited by Overflow_GR: Jan 21 2008, 07:10 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

10 Pages V  1 2 3 > » 
Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 9th February 2010 - 01:53 AM
Adapted from Zorcean Studios