[ Обновленные темы · Новые сообщения · Участники · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Моддинг » Моддинг Worms Forts » Worms Forts Builds Limit
Worms Forts Builds Limit
Woitek
Проверенные
Сообщений: 523
Реп: 57 / Инв: 11
This topic will be about progress with finding Constant value for Build. MaxBuldingsOnMap.

I spend some days for search this value but still nothing...
But found that in lua is possible read CountOfBuildings ;d.

Also found in Cheat Engine value what save number of total builds on map

Also maked special script with map what load exacly 64 buildings with spawn near stronghold for look limit work still or not.
It's Deathmatch2 mission
Here link:
http://www.sendspace.com/file/8ho22t


Сообщение отредактировал Woitek - ПТ, 27.12.2013, 23:36:31
 
AlexBond
Админы
Сообщений: 1042
Реп: 106 / Инв: 8
your code in IDA:
Код

  NumBuilds = v8->NumBuilds;
   v37 = v8->NumBuilds;
   v10 = (str_builds->BuildsPoints[NumBuilds] + 28);
   (*(v7->func + 4))(v11, str_builds, v7);
   if ( *v10 )
     (*(**v10 + 8))(*v10);
   *v10 = v7;
   ++v8->NumBuilds;


We have big problem. T17 used structures what have Array [64] so you cant change this value!!!

here it initialise:
Код

   buildpt = a1->BuildsPoints;
   numBuilds = 64;
   do
   {
     if ( *buildpt )
       (*(**buildpt + 8))(*buildpt);
     *buildpt = 0;
     buildpt += 4;
     --numBuilds;
   }
   while ( numBuilds );


a1->BuildsPoints; this Array [64] of objects... and this structure have many values. So you cant change size of structure... for this need recompile all EXE!!!


 
Woitek
Проверенные
Сообщений: 523
Реп: 57 / Инв: 11
Heh not very good news ;/. Thinked it simple constant but no....
 
Форум » Моддинг » Моддинг Worms Forts » Worms Forts Builds Limit
  • Страница 1 из 1
  • 1
Поиск: