To Crash or not to Crash.....
Well that was fun... Figured to do some script exploring on my own instead of asking a whole bunch of questions in the forums and well........
Let's see it started out ok I was getting the hang of entities, getting them to move around or fight one another... Well I wondered if I could get an npc to randomly spawn another npc from the database after it was killed (testing out a gladitorial type battle for fhalls) and well it worked buuut.. I guess I missed something.. The two npcs started figthing, one killed the other then all of a sudden my screen fills up with spawned npcs, ALOT of them... Then the client crashed... Restarted eqemu and it stuck at connecting to Mysql.. I took a peek at my tables and somehow what I had spawned made entry into the database Spawn2 normally 23megs of data was 456megs alone!! Guess I will be asking more questions! Just thought to share this...
|