Jump to content
metin2dev
ѕeмa™

[RELEASE] Coins in InventoryWindow.

Recommended Posts

Yes, because you just copied everything to game.py without replacing the spaces with tabs. Search for "mds" and insert the correct tabs.

OO oke thanks for you help!

Share this post


Link to post
Share on other sites

Does This will be caused lag server with more players on server? e.g 400-600 players?

---

Sorry my English is very very bad :)

nooo

Share this post


Link to post
Share on other sites

Hello,

 

I have a problem with that system I have 4mb erros in syserr client with this error :

 

0419 10:08:47237 :: Traceback (most recent call last):

0419 10:08:47237 ::   File "uiInventory.py", line 472, in OnUpdate

0419 10:08:47237 :: AttributeError
0419 10:08:47237 :: : 
0419 10:08:47237 :: 'int' object has no attribute 'SetText'
0419 10:08:47237 :: 

 

can someone help me please ?

Share this post


Link to post
Share on other sites

I have this error in syserr(game)

Spoiler

SYSERR: May  8 14:24:54 :: RunState: LUA_ERROR: [string "mds"]:1: attempt to index field `?' (a nil value)
SYSERR: May  8 14:24:54 :: WriteRunningStateToSyserr: LUA_ERROR: quest mds.start click
SYSERR: May  8 14:24:54 :: RunState: LUA_ERROR: [string "coins"]:1: attempt to index field `?' (a nil value)
SYSERR: May  8 14:24:54 :: WriteRunningStateToSyserr: LUA_ERROR: quest coins.start click
SYSERR: May  8 14:25:04 :: RunState: LUA_ERROR: [string "mds"]:1: attempt to index field `?' (a nil value)
SYSERR: May  8 14:25:04 :: WriteRunningStateToSyserr: LUA_ERROR: quest mds.start click
SYSERR: May  8 14:25:04 :: RunState: LUA_ERROR: [string "coins"]:1: attempt to index field `?' (a nil value)
SYSERR: May  8 14:25:04 :: WriteRunningStateToSyserr: LUA_ERROR: quest coins.start click
SYSERR: May  8 14:25:14 :: RunState: LUA_ERROR: [string "mds"]:1: attempt to index field `?' (a nil value)
SYSERR: May  8 14:25:14 :: WriteRunningStateToSyserr: LUA_ERROR: quest mds.start click
SYSERR: May  8 14:25:14 :: RunState: LUA_ERROR: [string "coins"]:1: attempt to index field `?' (a nil value)
SYSERR: May  8 14:25:14 :: WriteRunningStateToSyserr: LUA_ERROR: quest coins.start click

How can fix this error?

Share this post


Link to post
Share on other sites
On 19/04/2016 at 9:11 AM, nicu1993 said:

Hello,

 

I have a problem with that system I have 4mb erros in syserr client with this error :

 

0419 10:08:47237 :: Traceback (most recent call last):

0419 10:08:47237 ::   File "uiInventory.py", line 472, in OnUpdate

0419 10:08:47237 :: AttributeError
0419 10:08:47237 :: : 
0419 10:08:47237 :: 'int' object has no attribute 'SetText'
0419 10:08:47237 :: 

 

can someone help me please ?

same error !

Share this post


Link to post
Share on other sites
loop_timer("carga_mds", 10)

Ha. if you want your server destroyed put this. your server can't get 70 players online + CPU will go crazy :)

Share this post


Link to post
Share on other sites

Yeah i think this will be ok. cause if 10 seconds are refreshing every player your dedicated will burn xD ( i dont reccomend loopers)

  • Like 1

Share this post


Link to post
Share on other sites
On 1.07.2016 at 4:13 PM, Law™ said:

Yeah i think this will be ok. cause if 10 seconds are refreshing every player your dedicated will burn xD ( i dont reccomend loopers)

Ohhh yeah, but we have 2016 bro. This can be happend in 2008 when dedicated was shit.

Share this post


Link to post
Share on other sites
5 minutes ago, terrorr said:

Ohhh yeah, but we have 2016 bro. This can be happend in 2008 when dedicated was shit.

This can happen on all servers cause Gamefile it dont take all the CPU of the pc. it take an instant CPU of using. this will be better if you have cores(thats why cores are made) if you put this system have 90-100 players online and you write on putty top -P you will understund what i mean :)

Share this post


Link to post
Share on other sites

Pfff. I had 2000 players in my server. Nothing happend? Yeah it's true timer always working harder but if you have good mashin , nothing gonna happend. LoL

Share this post


Link to post
Share on other sites

Hello devs,

Looks great but you all forgot 2 things about this:

1. Timer - I'm not a professional programmer but I believe that with timer somebody is gonna get DDoS-ed especially with lots of players in the server I mean come on 10 minuets check for refresh inventory for each of them? Are you trying to kill your server? It's a great system but let's face it it could lead to a memory leak of the server just the quest by itself. I may be wrong, I said I'm not a professional programmer but it seems right to me to warn you about this

2. Privacy - I think this is the most important part right? Your server needs advertising and people do that by uploading some awesome videos on youtube about the PvPs and guild wars they did last night right? But some players may don't want to show people how many coins they have, in fact they may don't want people to know that they pay for this game at all. Their bussiness to deal with but by implementing this affects your server because these people will not do any video advertising on your server with this privacy flaw... And you may regret this because you never know who can make awesome videos. I would suggest a button that hides and shows this coin field.

Hope I helped :)

Kind regards ~ Mind Rapist

  • Like 1

Share this post


Link to post
Share on other sites
On 23/8/2016 at 8:31 PM, Mind Rapist said:

Hello devs,

Looks great but you all forgot 2 things about this:

1. Timer - I'm not a professional programmer but I believe that with timer somebody is gonna get DDoS-ed especially with lots of players in the server I mean come on 10 minuets check for refresh inventory for each of them? Are you trying to kill your server? It's a great system but let's face it it could lead to a memory leak of the server just the quest by itself. I may be wrong, I said I'm not a professional programmer but it seems right to me to warn you about this

2. Privacy - I think this is the most important part right? Your server needs advertising and people do that by uploading some awesome videos on youtube about the PvPs and guild wars they did last night right? But some players may don't want to show people how many coins they have, in fact they may don't want people to know that they pay for this game at all. Their bussiness to deal with but by implementing this affects your server because these people will not do any video advertising on your server with this privacy flaw... And you may regret this because you never know who can make awesome videos. I would suggest a button that hides and shows this coin field.

Hope I helped :)

Kind regards ~ Mind Rapist

Are you serius the quest is ddosing the server?Also if you are genius you can make it without lag like yang...

Share this post


Link to post
Share on other sites
2 hours ago, Crystal™ said:

1. Timer - I'm not a professional programmer but I believe that with timer somebody is gonna get DDoS-ed especially with lots of players in the server I mean come on 10 minuets check for refresh inventory for each of them? Are you trying to kill your server? It's a great system but let's face it it could lead to a memory leak of the server just the quest by itself. I may be wrong, I said I'm not a professional programmer but it seems right to me to warn you about this

 

Share this post


Link to post
Share on other sites

please help 

 

Spoiler

1007 20:31:11856 :: Traceback (most recent call last):

1007 20:31:11856 ::   File "uiInventory.py", line 838, in OnUpdate

1007 20:31:11857 :: AttributeError
1007 20:31:11857 :: : 
1007 20:31:11857 :: 'int' object has no attribute 'SetText'
1007 20:31:11857 :: 
 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×