Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Can't walk .. BUG - NEED HELP
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="uttmmmm5" data-source="post: 440397" data-attributes="member: 68424"><p>Line 313 is a Region:</p><p>[CODE]#region Dynamic game map handling</p><p></p><p> if (MaxY > (Model.MapSizeY - 1) || MaxX > (Model.MapSizeX - 1))</p><p> {</p><p> if (MaxX < Model.MapSizeX)</p><p> MaxX = Model.MapSizeX;</p><p> if (MaxY < Model.MapSizeY)</p><p> MaxY = Model.MapSizeY;</p><p></p><p> Model.SetMapsize(MaxX + 7, MaxY + 7);</p><p> GenerateMaps(false);</p><p> return;</p><p> }</p><p></p><p> if (MaxX != StaticModel.MapSizeX || MaxY != StaticModel.MapSizeY)</p><p> {</p><p> mUserItemEffect = new byte[Model.MapSizeX, Model.MapSizeY];</p><p> mGameMap = new byte[Model.MapSizeX, Model.MapSizeY];</p><p></p><p></p><p> mItemHeightMap = new double[Model.MapSizeX, Model.MapSizeY];</p><p> //if (modelRemap)</p><p> // Model.Generate(); //Clears model</p><p></p><p> for (int line = 0; line < Model.MapSizeY; line++)</p><p> {</p><p> for (int chr = 0; chr < Model.MapSizeX; chr++)</p><p> {</p><p> mGameMap[chr, line] = 0;</p><p> mUserItemEffect[chr, line] = 0;</p><p></p><p> if (chr == Model.DoorX && line == Model.DoorY)</p><p> {</p><p> mGameMap[chr, line] = 1/*3*/;</p><p> }</p><p> else if (Model.SqState[chr, line] == SquareState.OPEN)</p><p> {</p><p> mGameMap[chr, line] = 1;</p><p> }</p><p> else if (Model.SqState[chr, line] == SquareState.SEAT)</p><p> {</p><p> mGameMap[chr, line] = 2;</p><p> }</p><p> else if (Model.SqState[chr, line] == SquareState.POOL)</p><p> {</p><p> mUserItemEffect[chr, line] = 6;</p><p> }</p><p> }</p><p> }</p><p></p><p> if (gotPublicPool)</p><p> {</p><p> for (int y = 0; y < StaticModel.MapSizeY; y++)</p><p> {</p><p> for (int x = 0; x < StaticModel.MapSizeX; x++)</p><p> {</p><p> if (StaticModel.mRoomModelfx[x, y] != 0)</p><p> {</p><p> mUserItemEffect[x, y] = StaticModel.mRoomModelfx[x, y];</p><p> }</p><p> }</p><p> }</p><p> }</p><p></p><p> /** COMENTADO YA QUE SALAS PUBLICAS NUEVA CRYPTO NO NECESARIO</p><p> if (!string.IsNullOrEmpty(StaticModel.StaticFurniMap))</p><p> {</p><p> * foreach (PublicRoomSquare square in StaticModel.Furnis)</p><p> {</p><p> if (square.Content.Contains("chair") || square.Content.Contains("sofa"))</p><p> {</p><p> mGameMap[square.X, square.Y] = 1;</p><p> } else {</p><p> mGameMap[square.X, square.Y] = 0;</p><p> }</p><p> }</p><p> }*/</p><p> }</p><p> #endregion[/CODE]</p><p></p><p>Can you change this region how it is correct and send it to me that i can copy and replace it ?</p><p>[doublepost=1542060975,1541197147][/doublepost]Doesn't have anybody an idea ?</p><p>It is the HoloRP-Emulator.</p><p>After a few hours I can't walk, idk why.</p><p>No Errors in the Console.</p></blockquote><p></p>
[QUOTE="uttmmmm5, post: 440397, member: 68424"] Line 313 is a Region: [CODE]#region Dynamic game map handling if (MaxY > (Model.MapSizeY - 1) || MaxX > (Model.MapSizeX - 1)) { if (MaxX < Model.MapSizeX) MaxX = Model.MapSizeX; if (MaxY < Model.MapSizeY) MaxY = Model.MapSizeY; Model.SetMapsize(MaxX + 7, MaxY + 7); GenerateMaps(false); return; } if (MaxX != StaticModel.MapSizeX || MaxY != StaticModel.MapSizeY) { mUserItemEffect = new byte[Model.MapSizeX, Model.MapSizeY]; mGameMap = new byte[Model.MapSizeX, Model.MapSizeY]; mItemHeightMap = new double[Model.MapSizeX, Model.MapSizeY]; //if (modelRemap) // Model.Generate(); //Clears model for (int line = 0; line < Model.MapSizeY; line++) { for (int chr = 0; chr < Model.MapSizeX; chr++) { mGameMap[chr, line] = 0; mUserItemEffect[chr, line] = 0; if (chr == Model.DoorX && line == Model.DoorY) { mGameMap[chr, line] = 1/*3*/; } else if (Model.SqState[chr, line] == SquareState.OPEN) { mGameMap[chr, line] = 1; } else if (Model.SqState[chr, line] == SquareState.SEAT) { mGameMap[chr, line] = 2; } else if (Model.SqState[chr, line] == SquareState.POOL) { mUserItemEffect[chr, line] = 6; } } } if (gotPublicPool) { for (int y = 0; y < StaticModel.MapSizeY; y++) { for (int x = 0; x < StaticModel.MapSizeX; x++) { if (StaticModel.mRoomModelfx[x, y] != 0) { mUserItemEffect[x, y] = StaticModel.mRoomModelfx[x, y]; } } } } /** COMENTADO YA QUE SALAS PUBLICAS NUEVA CRYPTO NO NECESARIO if (!string.IsNullOrEmpty(StaticModel.StaticFurniMap)) { * foreach (PublicRoomSquare square in StaticModel.Furnis) { if (square.Content.Contains("chair") || square.Content.Contains("sofa")) { mGameMap[square.X, square.Y] = 1; } else { mGameMap[square.X, square.Y] = 0; } } }*/ } #endregion[/CODE] Can you change this region how it is correct and send it to me that i can copy and replace it ? [doublepost=1542060975,1541197147][/doublepost]Doesn't have anybody an idea ? It is the HoloRP-Emulator. After a few hours I can't walk, idk why. No Errors in the Console. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Can't walk .. BUG - NEED HELP
Top