dcsimg
Results 1 to 5 of 5

Thread: Need Help Please :)

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2013
    Posts
    3

    Smile Need Help Please :)

    hi
    this is a source code of actionscript 2.0 of swf file which i want to edit to have fun cuz am bored of the game rules its boring and normal

    some one please tell me how to hack this or modify it in way that is very good for me and fun.
    am computer science student 5 years in college ...they teach C++ ,pascal turbo and Visual basics ...i have basics idee as of how these codes and script operates but not fully understand them

    so some one please modify these codes or atleast some of important of them so i play my game like hacked or full stuff like every thing is 99999 if possible

    note: if you dont want to do anything ..then tell me what options can i change like false to true or 0 to 1 to activate some stuff like Vip and how to buy stuff without having gold or silver ...what codes that needs to be changed to what ?

    Thanks



    function SetButtonTabEnabed()
    {
    SettingArea.GameMode.tabEnabled = false;
    SettingArea.Map.tabEnabled = false;
    SettingArea.MapNumber.tabEnabled = false;
    SettingArea.StartGameBtn.tabEnabled = false;
    SettingArea.GameModesBtn.tabEnabled = false;
    SettingArea.ThemeRandomBtn.tabEnabled = false;
    SettingArea.MapRandomBtn.tabEnabled = false;
    SettingArea.SetPasswordBtn.tabEnabled = false;
    SettingArea.HostInviteBtn.tabEnabled = false;
    SettingArea.DeviceBtn.tabEnabled = false;
    SettingArea.Players.tabEnabled = false;
    } // End of the function
    function Initialize()
    {
    _root.Lobby.FriendPage.PartyChatDialog.EmoteLists.CloseEmoteList();
    _root.Lobby.FriendPage.PartyChatDialog.EmoteLists.data = _root.lobby_data.emote_equipped;
    SetButtonTabEnabed();
    _parent.FriendPage.PartyChatDialog.LeaveBtn.disabled = false;
    Background._x = 345;
    Background._y = 59;
    Background._width = 928;
    Background._height = 685;
    SettingArea.SettingBg._width = 335;
    SettingArea.SettingBg._height = 282;
    _root.GenerateDropDownListData();
    SetGameModeList();
    SetMapList(_root.g_GameModeId, true);
    InitLocalization();
    SettingArea.GameMode._rowHeight = 19;
    SettingArea.GameMode._rowCount = 10;
    SettingArea.GameMode.addEventListener("click", this, "OnDummyClicked");
    SettingArea.Map._rowHeight = 19;
    SettingArea.Map._rowCount = 5;
    SettingArea.Map.addEventListener("click", this, "OnDummyClicked");
    SettingArea.MapNumber._rowHeight = 19;
    SettingArea.MapNumber._rowCount = 5;
    SettingArea.MapNumber.addEventListener("click", this, "OnDummyClicked");
    SettingArea.GameMode.addEventListener("change", this, "OnGameModeChanged");
    SettingArea.Map.addEventListener("change", this, "OnMapChanged");
    SettingArea.MapNumber.addEventListener("change", this, "OnMapNumberChanged");
    SettingArea.StartGameBtn.label = _global.STR_START_GAME;
    SettingArea.StartGameBtn.addEventListener("click", this, "OnStartGame");
    SettingArea.GameModesBtn.label = _global.STR_SELECT_MODES_MAPS;
    SettingArea.GameModesBtn.addEventListener("click", this, "OnSelectGameMode");
    SettingArea.ThemeRandomBtn.addEventListener("click", this, "OnThemeRandom");
    SettingArea.MapRandomBtn.addEventListener("click", this, "OnMapRandom");
    SettingArea.SetPasswordBtn.label = _global.STR_SET_PASSWORD;
    SettingArea.SetPasswordBtn.addEventListener("click", this, "OnSetPassword");
    SettingArea.HostInviteBtn.label = _global.STR_HOST_INVITE;
    SettingArea.HostInviteBtn.addEventListener("select", this, "OnHostInviteChange");
    SettingArea.DeviceBtn.label = _global.STR_DEVICED;
    SettingArea.DeviceBtn.addEventListener("select", this, "OnDeviceChange");
    SettingArea.Players.addEventListener("change", this, "OnPlayersChanged");
    ControlSettingArea(true);
    _parent.FriendPage._visible = true;
    Selection.setFocus(_parent.FriendPage.PartyChatDialog.chatInput);
    if (_root.g_is_game_started)
    {
    _parent.FriendPage.PartyChatDialog.LeaveBtn.disabled = true;
    _parent.ChangPageControl(true);
    } // end if
    if (_root.CurrentMovie.TabHistory[0] != 2)
    {
    _root.Lobby.chat_list.buttonContainer.ChatBtn0.ButtonDisable();
    }
    else
    {
    _root.Lobby.chat_list.buttonContainer.ChatBtn0.ButtonEnable();
    } // end else if
    if (_root.is_server_shutting_down_in_5_minutes)
    {
    ControlSettingArea(true);
    } // end if
    var _loc5 = Boolean(flash.external.ExternalInterface.call("FriendList.IsCharacterInRoom", _root.lobby_data.local_player_data.id));
    g_is_host = Boolean(flash.external.ExternalInterface.call("FriendList.IsHost", _root.lobby_data.local_player_data.id));
    if (_loc5 && !g_is_host)
    {
    ActionScript.DialogEx.Close();
    } // end if
    if (g_is_host)
    {
    if (_root.g_ThemeRandom)
    {
    SetThemeRandomIcon(true);
    }
    else
    {
    SetThemeRandomIcon(false);
    } // end else if
    if (_root.g_MapRandom)
    {
    SetMapRandomIcon(true);
    }
    else
    {
    SetMapRandomIcon(false);
    } // end if
    } // end else if
    } // End of the function
    function OnThemeRandom()
    {
    if (SettingArea.ThemeRandomIcon._currentframe != 3)
    {
    SettingArea.ThemeRandomIcon.gotoAndStop("Random");
    _root.g_ThemeRandom = true;
    RandomThemeFun();
    if (SettingArea.MapRandomIcon._currentframe != 3)
    {
    SettingArea.MapRandomIcon.gotoAndStop("Random");
    _root.g_MapRandom = true;
    } // end if
    RandomMapFun();
    }
    else
    {
    SettingArea.ThemeRandomIcon.gotoAndStop("NoRandom");
    _root.g_ThemeRandom = false;
    } // end else if
    } // End of the function
    function OnMapRandom()
    {
    if (SettingArea.ThemeRandomIcon._currentframe == 3 && _root.g_IsRandomNeeded)
    {
    SettingArea.MapRandomIcon.gotoAndStop("Random");
    _root.g_MapRandom = true;
    RandomMapFun();
    }
    else if (SettingArea.MapRandomIcon._currentframe != 3)
    {
    SettingArea.MapRandomIcon.gotoAndStop("Random");
    _root.g_MapRandom = true;
    RandomMapFun();
    }
    else
    {
    if (SettingArea.ThemeRandomIcon._currentframe == 3)
    {
    SettingArea.ThemeRandomIcon.gotoAndStop("NoRandom");
    _root.g_ThemeRandom = false;
    } // end if
    SettingArea.MapRandomIcon.gotoAndStop("NoRandom");
    _root.g_MapRandom = false;
    } // end else if
    } // End of the function
    function SetThemeRandomIcon(theme_random)
    {
    if (theme_random)
    {
    SettingArea.ThemeRandomIcon.gotoAndStop("Random");
    }
    else
    {
    SettingArea.ThemeRandomIcon.gotoAndStop("NoRandom");
    } // end else if
    } // End of the function
    function SetMapRandomIcon(map_random)
    {
    if (map_random)
    {
    SettingArea.MapRandomIcon.gotoAndStop("Random");
    }
    else
    {
    SettingArea.MapRandomIcon.gotoAndStop("NoRandom");
    } // end else if
    } // End of the function
    function RandomThemeFun()
    {
    var _loc5 = SettingArea.GameMode.dataProvider[SettingArea.GameMode.selectedIndex];
    var _loc3 = _loc5.id;
    var _loc2 = _root.g_GameRoomModeLevelZoneSettings[_loc3].active;
    var _loc4 = Number(GetRandomIndexArray(_loc2)[Math.floor(Math.random() * GetRandomIndexArray(_loc2).length)]);
    var _loc6 = _loc2[_loc4];
    SettingArea.Map.selectedIndex = _loc6.level_index;
    _root.g_GameLevelId = SettingArea.Map.dataProvider[SettingArea.Map.selectedIndex].id;
    } // End of the function
    function RandomMapFun()
    {
    var _loc4 = SettingArea.Map.dataProvider[SettingArea.Map.selectedIndex];
    var _loc2 = _loc4.active;
    var _loc3 = Number(GetRandomIndexArray(_loc2)[Math.floor(Math.random() * GetRandomIndexArray(_loc2).length)]);
    var _loc5 = _loc2[_loc3];
    SettingArea.MapNumber.selectedIndex = _loc5.zone_index;
    _root.g_GameZoneId = SettingArea.MapNumber.dataProvider[SettingArea.MapNumber.selectedIndex].label - 1;
    } // End of the function
    function GetRandomIndexArray(random_ary)
    {
    var _loc5 = [];
    var _loc6 = Boolean(flash.external.ExternalInterface.call("FriendList.IsVip", _root.lobby_data.local_player_data.id));
    if (_loc6)
    {
    for (var _loc3 = 0; _loc3 < random_ary.length; ++_loc3)
    {
    _loc5.push(_loc3);
    } // end of for
    }
    else
    {
    for (var _loc2 = 0; _loc2 < random_ary.length; ++_loc2)
    {
    if (random_ary[_loc2].level_limit <= _root.lobby_data.level_num)
    {
    _loc5.push(_loc2);
    } // end if
    } // end of for
    } // end else if
    return (_loc5);
    } // End of the function
    function OnDummyClicked(evt)
    {
    if (evt.target._name == "Map")
    {
    SettingArea.ThemeRandomIcon.gotoAndStop("NoRandom");
    _root.g_ThemeRandom = false;
    }
    else if (evt.target._name == "MapNumber")
    {
    SettingArea.ThemeRandomIcon.gotoAndStop("NoRandom");
    SettingArea.MapRandomIcon.gotoAndStop("NoRandom");
    _root.g_ThemeRandom = false;
    _root.g_MapRandom = false;
    } // end else if
    _global.gfxProcessSound("PlaySound", _root.LOBBY_BUTTON_MAIN);
    } // End of the function
    function InitLocalization()
    {
    SettingArea.Title.text = _global.STR_SETTINGS;
    SettingArea.VIPTitle.text = _global.STR_SETTINGS;
    SettingArea.GameModeLabel.text = _global.STR_GAME_MODE;
    SettingArea.MapLabel.text = _global.STR_MAP;
    SettingArea.PlayersLabel.text = _global.STR_PLAYERS;
    if (_root.g_AnswerInviteToRoomRequestInfo)
    {
    _root.CurrentMovie.AnswerInviteToRoomRequest(_root.g_AnswerInviteToRoomRequestInfo.char_id, _root.g_AnswerInviteToRoomRequestInfo.host_id, _root.g_AnswerInviteToRoomRequestInfo.name);
    } // end if
    } // End of the function
    function SetGameModeList()
    {
    var _loc9 = _root.g_GameModeLevelZoneSelection.length;
    var _loc8 = [];
    for (var _loc2 = 0; _loc2 < _loc9; ++_loc2)
    {
    var _loc3 = _root.g_GameModeLevelZoneSelection[_loc2];
    var _loc4 = {label: _loc3.mode, id: _loc3.id, level_limit: _loc3.level_limit};
    _loc8.push(_loc4);
    } // end of for
    _loc8.sort(CompareFun);
    SettingArea.GameMode.dataProvider = _loc8;
    if (SettingArea.GameMode.dataProvider.length <= SettingArea.GameMode._rowCount)
    {
    SettingArea.GameMode.scrollBar = "";
    } // end if
    } // End of the function
    function CompareFun(a, b)
    {
    var _loc2 = a.level_limit;
    var _loc1 = b.level_limit;
    if (_loc2 < _loc1)
    {
    return (-1);
    }
    else if (_loc2 > _loc1)
    {
    return (1);
    }
    else
    {
    return (0);
    } // end else if
    } // End of the function
    function SetPlayersList()
    {
    SettingArea.Players.dataProvider = [2, 3, 4, 5, 6, 7, 8];
    SettingArea.Players.disabled = false;
    SettingArea.PlayersLabel.textColor = 16777215;
    SettingArea.Players.selectedIndex = SettingArea.Players.dataProvider.length - 1;
    } // End of the function
    function SetHostInvite(is_on)
    {
    SettingArea.HostInviteBtn.selected = is_on;
    } // End of the function
    function OnSetPassword(e)
    {
    _root.ShowSetVIPPasswordDialog();
    } // End of the function
    function OnHostInviteChange(e)
    {
    if (g_is_host && !g_IsFromServer)
    {
    var _loc2 = e.target.selected;
    _root.SetLockScreen(true);
    flash.external.ExternalInterface.call("GameRoom.SetHostInvite", _loc2);
    } // end if
    } // End of the function
    function SetDeviceFlag(choose)
    {
    SettingArea.DeviceBtn.selected = choose;
    } // End of the function
    function OnDeviceChange(e)
    {
    if (g_is_host && !g_IsFromServer)
    {
    var _loc2 = e.target.selected;
    _root.SetLockScreen(true);
    flash.external.ExternalInterface.call("GameRoom.SetDeviceFlag", _loc2);
    } // end if
    } // End of the function
    function OnPlayersChanged(e)
    {
    if (g_is_host && !g_IsFromServer)
    {
    var _loc2 = SettingArea.Players.selectedIndex;
    var _loc3 = SettingArea.Players.dataProvider[_loc2];
    _root.SetLockScreen(true);
    flash.external.ExternalInterface.call("GameRoom.SetPlayerLimit", _loc3);
    } // end if
    } // End of the function
    function SetModeById(mode_id)
    {
    var _loc2 = SettingArea.GameMode.dataProvider;
    var _loc4 = _loc2[SettingArea.GameMode.selectedIndex].id;
    if (mode_id != _loc4)
    {
    for (var _loc1 = 0; _loc1 < _loc2.length; ++_loc1)
    {
    if (_loc2[_loc1].id == mode_id)
    {
    SettingArea.GameMode.selectedIndex = _loc1;
    break;
    } // end if
    } // end of for
    } // end if
    } // End of the function
    function SetLevelById(level_id, is_intialize)
    {
    var _loc2 = SettingArea.Map.dataProvider;
    var _loc5 = _loc2[SettingArea.Map.selectedIndex].id;
    if (level_id != _loc5)
    {
    for (var _loc1 = 0; _loc1 < _loc2.length; ++_loc1)
    {
    if (_loc2[_loc1].id == level_id)
    {
    SettingArea.Map.selectedIndex = _loc1;
    if (is_intialize)
    {
    SettingArea.MapNumber.dataProvider = SettingArea.Map.dataProvider[_loc1].index;
    } // end if
    break;
    } // end if
    } // end of for
    } // end if
    } // End of the function
    function SetZoneById(zone_id)
    {

  2. #2
    Junior Member
    Join Date
    Jan 2010
    Posts
    30

    Re: Need Help Please :)

    Only you know what's "good for you". Just study the code and change what you want. You're a 5 year comp sci student?

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2013
    Posts
    3

    Re: Need Help Please :)

    its 4 years and 1 year failed i so re studied it ..i said in post that in college they teach only basics the vb basics of pascal and vb ..i created vb programs but with a lot of help from my friend and teacher and program was very small and ridiculous ...this code above is action script language 2 i have no clue about it all i know is changing false to true or 0 to 1 or disabled to enabled lol ...the problem is when i finish editing the file and compile it back to original i get lots of error syntax i use adobe to compile it ...this file is compressed with zlib which i dont know how to compress it back to zlib ...so i need help to edit the .fla files and compress them to swf with zlib compression

  4. #4
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,346

    Re: Need Help Please :)

    You could probably just rewrite the code in VB6, what does it do anyway?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2013
    Posts
    3

    Re: Need Help Please :)

    Quote Originally Posted by Nightwalker83 View Post
    You could probably just rewrite the code in VB6, what does it do anyway?
    thats why i need help

    i dont know where to start and am not even novice in VB 6 let alone rewrite the whole code ... my college teaching in vb was very limited and very poor that i cudnt get anything for my own benift ...anyway if you can rewrite anything of this script i will really appreiceate it ..its written in AS2 ( actions script 2 ) so if re writing it in vb 6 will work ? i just want to hack this game the problem is it depends on server side so all i can do is modify the code source of game or hack the server of game which i have no idea where to begin with so please if anyone reading this post and feels he can hack this code(modify/disable/enable stuff ) for my benift then please do so

    Note: i do modifying , testing ,disabling and enabling in the code everyday (trail and error) so i just want to hack it ...but the code requires some Advanced stuff which i dont konw like....eventlistener....Loc2++loc3.....g_is_host ...etc and all of them ...i hacked flash games ...they are very easy to hack cuz they very clear codes like ...gold = 0 ..just change to 999999 but above code i have no idea ...please help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width