Jump to content

sfosodkw2

Members
  • Content Count

    18
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by sfosodkw2


  1. nice release. i did something similar to my server, there is the hotkey table on hercules, you can see what skill a player has on F1,F2 etc. and use that information too.

     

    I told my players leave main combo on F1,F2 and F3 if necessary, the rest is automatic.

     

    one tip: dont stress about item loot, players can use @alootitem @aloottype


  2. On 10/22/2024 at 12:31 AM, AtlantisRO said:

    Hello.

     

    I tried to update the plugin to adapt it to the new changes in the Hercules src and I thought I had succeeded at least in part during my local tests but then when I put it online for users I had some crashes, so I guess I didn't do it right.

    I hope someone can manage to update it correctly.

     

    Regards.

    its not hard to fix, just have to read and waste some time understanding errors.

    i could release it, but whats the point of releasing stuff in this dead forum anyway? people leech off, make money out of free work and expect the work to last forever? opensource is dead.


  3. On 3/10/2024 at 8:25 PM, Fou-lu said:

    I also have the same doubt as the author and a little more.

     

    What is the budget for a 5k player server?

     

    Where to host an international server?

     

    Does adding proxy options help with latency? How to place proxies?

    1) i dont know the budget, as my own server never surpassed ~300 players.

     

    2) google cloud platform, amazon web services, hostinger...

     

    3)you can check some VPS that has international proxy support, talk to them before contract.

     

    For an international project that aims to have 5k player, proxy is a must, people dont tolarate lag in gameplay, its 2025 already.

     


  4. com chat gpt da pra traduzir tranquilo, eu traduzi 100% dos npcs do meu hercules

     

    fiz programa pra bater os IDs do iteminfo.lua com IDs do banco (item_db.conf) e listar quais estão só em um dos arquivos, completei a descrição dos itens, limpei o banco de itens inúteis, etc, etc... ai vou dar isso na mão de um monte de gente que nem curte o post?

     

    outra vez em outra conta fiz uma tradução aqui que não teve nem 5 curtidas e mais de 2500 downloads. O povo só entra no fórum pra sugar, por isso ninguém mais compartilha nada. vc quer algo bem feito? faça vc mesmo xD


  5. 6 hours ago, fTakano said:

    You can use the script command getunits().

     

    thanks. i tried but i dont think i am using the correct information, can you help me implement this?

    OnDSMVPDead:
    	.@count = getunits(BL_PC, .@units, false, "guild_vs3");
    	for(.@i = 0; .@i <= .@count; i++) {
    	rodex_sendmail(getcharid(.@units[.@i]),"RodEx People","RodEx Test Mail","This is a RodEx Test Mail.",0,501,1,501,1,501,1);
    	}

     

    map-server:

    [Error]: script_rid2sd: fatal error ! player not attached!


  6. vc pode atingir isso modificando o for para  passar por todos os castelos e vendo a qual guild pertencem.

    ai na hora de "pagar" o jogador, vai multiplicar pela quantidade de vezes que a guild dele aparece (ou seja, quantos castelos possui), acho que é isso.

     

    OnBuyItem:
    	set .@TotalCost,0;
    	// Calcula o custo total
    	for(set .@i,0; .@i < getarraysize( @bought_nameid ); set .@i,.@i+1)
    		for(set .@j,0; .@j < getarraysize( .Items ); set .@j,.@j+1)
    			if( .Items[.@j] == @bought_nameid[.@i] )
    			set .@TotalCost,.@TotalCost + ( .Costs[.@j] * @bought_quantity[.@i] );
    	if( #CASHPOINTS >= .@TotalCost ){
    		// Deduz #CASHPOINTS e Ganha Itens.
    		set #CASHPOINTS,#CASHPOINTS - .@TotalCost;
    		for(set .@i,0; .@i < getarraysize( @bought_nameid ); set .@i,.@i+1)
    			getitem @bought_nameid[.@i],@bought_quantity[.@i];
    			
    		// Atribui a quantia de imposto igualmente a outras Guildas.
    		for( set .@i,0; .@i < getarraysize( .CastleMap$ ); set .@i,.@i + 1 ) {
    			set .@castleGuild, getguildid(getguildname(getcastledata(.CastleMap$[.@i],1)));
    			set .@guildCastles, 0; // Counter for guild-owned castles
    			// Count guild-owned castles
    			for( set .@j, 0; .@j < getarraysize(.CastleMap$); set .@j, .@j + 1) {
    				if(getguildid(getguildname(getcastledata(.CastleMap$[.@j],1))) == .@castleGuild) {
    					set .@guildCastles, .@guildCastles + 1;
    				}
    			}
    			// distriubir imposto igualmente
    			setd( "$GuildTax_"+.@i ),getd( "$GuildTax_"+.@i ) + ( (( .@TotalCost * .TaxRate ) / 100 ) / .@guildCastles );
    		}
    		
    		// Notificação sobre o Total de Imposto Recebido pela Guilda.
    		message strcharinfo(0),"Imposto recolhido: "+(( .@TotalCost * .TaxRate ) / 100 )+" Cash";
    	}else{
    		mes "Você não tem #CASHPOINTS suficiente...";
    	}
    	close;

     


  7.  I am using 2018-11-14dRagexe with NEMO, all working

    the "Cash Shop" button is there

    the itens are there

    the cash is there

     

    what happens is:

     

    if i click buy in the cash shop with no itens > nothing happens (as it should)

    if i add a item from the cash shop to the buy list and click buy  > GRAVITY ERROR

     

    i have kRO grf in my data.ini, i search for nemo for "cash" patches but there is nothing besides hiding the icon. does this client even support it?

     

    I cant use another client because i want a pre-renewal server and the sonic blow and vulcan arrow animation have changed in december 2018.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.