Jump to content

Angelix

Community
  • Content Count

    518
  • Joined

  • Days Won

    68

Posts posted by Angelix


  1. Name of Map: Jungle

     

    Description: A "Capture the Flag" mode where 2 teams battle it out to reach the limit score or be the team with the highest score when time runs out. Players will get points when getting the flag and traverse the map to place it in enemy territory. While doing so, they can get points via killing enemy players.

     

    Features:

    • Everything is customizable via variables.
    • It's a non-instance, portal based map.
    • Equalized class balance can be turned on/off.
    • Comeback mechanic to help the losing team if they're falling too far behind.
    • Extended match mechanics if teams are tied when time ends.
    • Customized messages and also kill feed texts.

    Notes:

    • Map scripts are available for v136/v138 servers and also for those based on Corsairs Online.

  2. 11 hours ago, Brothers said:

     

     

    Thank you very much, it worked now!
    Normally i use bin compiler and decompliers, but that didnt fix this :)

    Because "bin compilers" are run via a partial client. So to get bins specifically for your client, well just use your client. 

    • Like 1

  3. Are you compiling the ItemInfo.txt in client?

    You have to place new ItemInfo,txt in Server/resource which server will compile itself. Then copy that same ItemInfo.txt, place it in Client/scripts/table and use the client itself to compile it.

    Mew a new text file, paste the following, click "Save As" and put the extension ".bat" and then double click it.

    START system\game.exe startgame table_bin

     


  4. 6 hours ago, 1g0rS1lv4 said:

    you can do this using LuaSQL.

     

     

    I don't know if he's the person that contacted me via discord message, but if he is, no point in stating he can use LuaSQL. He's using CO sources and needs to do it via C++ integration. Could not help since I don't know C++.


  5. On 10/16/2020 at 4:11 PM, Tera said:

     

    Hello community, I had a long time away from the top but I have been bored by the other current games, so I have started to edit some files I put the trade server to make the IGS work and everything works fine, I was seeing some post where the lua extension is added to add crystals when killing a mob but I get this error

     

    [10-15 00:45:06]GetExp_New execute errot, atacker [Terass], monster killed [Aberrance Lizard]!
    [10-15 00:45:06]resource/script/extension/IGS.lua:33: attempt to call global `QueryAsync' (a nil value)

     

    And then I no longer want to fight with that because I have read that it should not be used much, so I wonder if someone could or if it is possible to create a scroll like the ones that give reputation, but instead of giving that, I would really appreciate it. : D

    Your GameServer does not have "LuaSQL" properly added. You have to add the correct version of LuaSQL for your GameServer and even then, you have to check that your GameServer is not heavily modified, otherwise the addresses will not match.


  6. Nobody can help you if you do not post all the scripts here. It seems you're using some sort of my written code, but do you have all of it? Just by look at this piece of code we can guess it just throws errors due to some variables not being defined. So either get the full scripts (because full scripts of my custom CA do work properly) or take the basics and re-write it to your liking for it to be more understandable for you.


  7. On 8/24/2020 at 12:40 PM, Snowfall said:

    Fixed.

    You missed this reply:
     

    On 3/23/2016 at 8:14 PM, Sultan said:

    Lua-SQL System (V0.2) - Stable version:

    • Slightly faster and less lag on execution
    • Edited LuaSQL.LG function to generate new files instead of editing Query.txt
    • Added LuaSQL.LG for every sample function to trace players inside new file Logs.txt
    • Removed/Edited few unneccessary stuffs from V0.1

    Lua-SQL System (V0.2).rar

     


  8. On 8/5/2020 at 1:42 AM, patrick13 said:

    that is very cool and I remember playing on a server that had such a feature. one thing you can work on is instead of checking for the exact same word, you could perhaps get a similarity score against the search pattern for instance using levenshtein distance. Shouldn't be too hard and yet would be more fair and interesting ;)

    You're referring to this? If so, never heard of that before and will have a look at it.

     

    An example of it would be this?

    • So instead of ending the round as soon as a player sends the exact message, could probably keep a record of the messages sent (probably at least the closest match) and then give out the reward before the new rounds begins?

     

    Also, could implement it better on another event I have "scrambled word", which gets a random string for a list, mixes it up and displays it for players to guess the original string.


  9. Name of Event: Automated Question and Answer Event

     

    Description: An automated that is trigger by system at set times and can be adjusted by variables. Questions can be added (along with answer and possible options) through variables. Players must type the correct answer on local chat and if they are the first to get it right, they'll win a prize. Everything is modified via variables.

     

    Notes:

    • This script needs the functions HandleChat and GMNotice usable as lua functions.
    • An option to display available options for answer can be turned on/off.
    • An option to allow players to win certain amount of rounds per event can be turned on/off.
    • You can add weight onto item rewards to give them more or less often.

    Screenshots:

    Event Start.

    unknown.png

     

    Question sent, with options displayed enabled.

    unknown.png

     

    Question sent, with options displayed disabled.

    unknown.png

     

    Player won a round.

    unknown.png

     

    Event ended.

    unknown.png

    • Like 1

  10. 6 hours ago, soilder12 said:

    @Shako sir can u upload link for drop rate calculator again please?

     

     

    On 10/27/2016 at 11:15 AM, V3ct0r said:

    @Nobre

     

    
    Chance = 100 / 'Item rate' * MF_RAID

    20% is 0.2

    0.2 = 100 / x * 1 or

    0.2 = 100 / x

     

    x = 100 / 0.2 = 500

     

    Try to set all drop rates as 500

     

    Item ID to DROP:

    
    885,885,885,885,885,885,885,885,885,885

    Item droprate:

    
    500,500,500,500,500,500,500,500,500,500

     

     


  11. Name of Map: Agora
    Description: A simulated 5v5 MOBA gameplay with base stats, level gaining, item stores to gain more stats, custom kill feeds, jungle monsters, towers and bases to defeat.

    Features:

    • Map is instanced based, so various matches can be on-going at the same time.
    • All players start with new base stats which are configurable on a separate file.
    • Players can gain in-map experience to level and therefor gain more stats.
    • Players can earn gold to buy items from the in-map store to further improve their stats.
    • Experience and gold are gained through killing monsters, players and towers while gold can also be earn in a passive way in low amounts.
    • Mystic shrubs can be spawned throughout the map in other to simulate buffs such as invisibility and stat bonuses.
    • Custom kill feed messages such as double, triple, quadra and penta kills on quick succession.
    • Players are limited to X amount of entries per day.
    • Players regain HP/SP faster when near their in-map base store.
    • Rewards are based on winning or losing and items can be assigned weights to increase/reduce the change of getting it.
    • Queue is doable via solo or teams, no in-between.

    Notes:

    • Everything is configurable via a single file, except for class balance.
    • Monsters, towers and bases stats must be edited to your liking within CharacterInfo.txt.
    • There are no monsters within the left, middle or right lanes since ToP AI pathing makes it hard to use. They will not move if no player is around and will revert back to their original coordinates if they're left alone.
    • This map also works for those using server files based on Corsairs Online, the only issue is when players use the guild circle color change, it will overwrite the current player's circle obtained from the SetChaSide function, although it should respect the player's side.

    Showcase of Stat Config, Example #1

    Spoiler

    image.png.f40ed92cf03aa3af6229893f844ebfc5.png

    Showcase of Stat Config, Example #2

    Spoiler

    image.png.587d19897278b93293489c1f994263ce.png

    Showcase of Stat Config, Example #3 (Level Up)

    Spoiler

    image.png.878a850f5ad0754890a44004e955afa8.png

    Showcase of In-Map Item #1

    Spoiler

    image.png.aea38197249ce44cd31973437e3418ac.png

    Showcase of In-Map Item, #2

    Spoiler

    image.png.949a2216b30141c1fdc4bea0aba7a890.png

    Showcase of In-Map Item, #3

    Spoiler

    image.png.8c6157a5c166a7317a59863bf2ab0953.png

    Showcase of In-Map Store.

    Spoiler

    image.png.5a0da546c113439c2e0e4bcf9fa60713.png

    Showcase of EXP/Gold Gain.

    Spoiler

    image.png.c7608c36c42023152c0c7e875a367934.png

    Showcase of Level Up.

    Spoiler

    image.png.6b4a452c666744fea2c7ff4b5b77724b.png

    Reward Handler Config

    Spoiler

    image.png.018d94922acf187ec827fe2a14b8dc9f.png

    Showcase of Rapid Kill Streaks.

    Spoiler

    image.png.8bab14a4b0bf5c54c0d5f4c8150dfdf8.png

     


  12. @Legacy & @hetser.

    This is the content within that rar file.
     

    print("* Loading CrystalByMob Extension <init.lua>")
    --[[ IGS Crystal By Mob Extension made By Vasil pkoDev,Please do not claim or redistribute the credits :)
    *Requirements:
    -LuaSQL by Wrexor
    -TradeServer Program
    -TradeDB 
    -SQL 2008 or higher
    
    *Configuration:
    I guess the example i gave is clear
    Just if you're going to use .\SQLEXPRESS , make it x2 dashes otherwise it will be as .SQLEXPRESS
    e.g : .\\SQLEXPRESS
    
    Just change the map that the function will run inside and the monster ID that will give the IGSP
    
    If encountering any bug or flaw or glitch,please contact me - Vasil
    
    --]]
    SQLConnector = {};
    SQLConnector.sql = { host = "127.0.0.1\\SQLEXPRESS", user = "sa", pass = "Y87dc#$98", db = "TradeDB" };
    
    CrystalByMobHook = GetExp_PKM
    GetExp_PKM = function( dead , atk , money  )
    	CrystalByMobHook(dead,atk, money)
    	local DeadMonster = GetChaID(dead)
    	local accountName = GetActName(atk)
    	local Money = Money
    	local Rum = { };
    	Rum['Money'] = Money;
    
    	if(GetChaMapName(atk) == "garner" or GetChaMapName(atk) == "crystal") then
    		if(DeadMonster == 1526)then
    			QueryAsync(
    			SQLConnector.sql['host'],
    			SQLConnector.sql['user'],
    			SQLConnector.sql['pass'],
    			"UPDATE "..SQLConnector.sql['db']..".dbo.AccountInfo SET Money = Money + 1 WHERE accName = '"..accountName.."'"
    	);
    			BickerNotice( atk, "[IGSP]:You have obtained 1 IGS Crystal from "..GetChaDefaultName(dead) )
    		end 
    	end
    end
    

    Please take into consideration this: 

    On 1/24/2017 at 7:28 PM, Angelix said:

    What I think @GustavoHMA means is that if a newly created account is playing and kills a monster then gets some points, those points won't get added since that account doesn't exist within TradeDB. Accounts created don't synchronize with TradeDB, they get create once a player enters in-game mall for the first time since TradeServer checks whether an account exists, if it doesn't, then it creates a record for it within TradeDB. Your query goes on ahead expecting the account you're trying to access/modify does exist which in reality can or can't exist depending on whether the player has entered or not the in-game mall before getting some points added.

     

    Try this:

    1. Create two new accounts, "A" and "B".
    2. Check TradeDB, you'll see that neither accounts exists within it.
    3. Create a new character in each account.
    4. With player "A" access in-game mall and a record for that account will be created within TradeDB while account "B" won't have one.
    5. With both characters kill a monster to add some points to their account.
    6. Account "A" should get points while account "B" shouldn't be getting since it does not exists within TradeDB.
    7. Then with player "B" enter in-game mall and then the record should be created and see if it has points from before.

     

    • Thanks 1

  13. On 4/12/2019 at 3:01 AM, V3ct0r said:

    6. Function for GameServer.exe, which allows to change the names of Monsters, NPCs, Players for a certain player

     

    OnBeginSeeCha1_en.png

     

    OnBeginSeeCha2.png

     

    With this function, you can change the names of monsters, NPCs and players (@other) that are sent during synchronization to a certain player (@role). For example, you can make the player "V3ct0r" (@role) see the Forest Spirit (@other) named "AAAAAAAA", and the player "Test1024" (@role) see the Forest Spirit (@other) named "BBBBBBB". Or it is possible to add character level to the player's characters names and add to monsters names their IDs from CharacterInfo.txt (see the example of the code above).

    Has there been a fix applied to this mod yet? I haven't received a response from you on discord yet.

×
×
  • Create New...