Jump to content

[ Dead Download Link ] Vanilla Core 2.4.1 [ We Need You ]


Vanilla

Recommended Posts

I'm still making progress on lua 5.2! There's much to do and you'll need to compile your quests with the new qc! But then everything'd work! I'll release the new qc before the new vanilla gamefile just to let you test out if it works. And if everyone is able to compile their quests with it, I'll release the gamefile as soon as it's ready!

  • Love 2

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

it works on 64 bit.

 

Here you've got a reference over all common lua functions including the libraries which are enabled (so you can use these functions too).

 

 

assert
collectgarbage
dofile
error
getmetatable
ipairs
load
loadfile
next
pairs
pcall
print
rawequal
rawget
rawlen
rawset
require
select
setmetatable
tonumber
tostring
type
xpcall

bit32.arshift
bit32.band
bit32.bnot
bit32.bor
bit32.btest
bit32.bxor
bit32.extract
bit32.lrotate
bit32.lshift
bit32.replace
bit32.rrotate
bit32.rshift

coroutine.create
coroutine.resume
coroutine.running
coroutine.status
coroutine.wrap
coroutine.yield

debug.debug
debug.getuservalue
debug.gethook
debug.getinfo
debug.getlocal
debug.getmetatable
debug.getregistry
debug.getupvalue
debug.setuservalue
debug.sethook
debug.setlocal
debug.setmetatable
debug.setupvalue
debug.traceback
debug.upvalueid
debug.upvaluejoin

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

io.close
io.flush
io.input
io.lines
io.open
io.output
io.popen
io.read
io.stderr
io.stdin
io.stdout
io.tmpfile
io.type
io.write

 

math.abs
math.acos
math.asin
math.atan
math.atan2
math.ceil
math.cos
math.cosh
math.deg
math.exp
math.floor
math.fmod
math.frexp
math.huge
math.ldexp
math.log
math.max
math.min
math.modf
math.pi
math.pow
math.rad
math.random
math.randomseed
math.sin
math.sinh
math.sqrt
math.tan
math.tanh

os.clock
os.date
os.difftime
os.execute
os.exit
os.getenv
os.remove
os.rename
os.setlocale
os.time
os.tmpname

package.config
package.cpath
package.loaded
package.loadlib
package.path
package.preload
package.searchers
package.searchpath

string.byte
string.char
string.dump
string.find
string.format
string.gmatch
string.gsub
string.len
string.lower
string.match
string.rep
string.reverse
string.sub
string.upper

table.concat
table.insert
table.pack
table.remove
table.sort
table.unpack

 

Additionally lua also understands goto-Commands. For counting a table you can use the new operator #

So instead of using table.getn(tablename) you can use #tablename

 

If you still need to use table.getn (because of the old scripts) you can easily add the function to your questlib.lua:

function table.getn(a) return #a end

That single line will do it.

 

Further documentation following.

  • Metin2 Dev 1
  • Love 5

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

new_test_server: 0/1
Protects your test-server so the gamecore will check if accounts are written into gmlist before granting them implementor-privileges.

new_gm_host_check: 1/0
Checks the gmhost and gmlist for the right ip before granting privileges. Disabled by default.

adminpage_enable: 1/0
Enables the adminpage-features. Disabled by default (say bye bye to API tools)

adminpage_no_localhost: 1/0
Disables the security feature which inserts localhost into your adminpage_ip so it'll only listen to localhost.

 

is 1 activ and 0 deactivate

?

 

Link to comment
Share on other sites

new_test_server: 0/1

Protects your test-server so the gamecore will check if accounts are written into gmlist before granting them implementor-privileges.

new_gm_host_check: 1/0

Checks the gmhost and gmlist for the right ip before granting privileges. Disabled by default.

adminpage_enable: 1/0

Enables the adminpage-features. Disabled by default (say bye bye to API tools)

adminpage_no_localhost: 1/0

Disables the security feature which inserts localhost into your adminpage_ip so it'll only listen to localhost.

 

is 1 activ and 0 deactivate

?

Yes probably

Link to comment
Share on other sites

### Changelog vanilla revision 54180 ###

Also known as version 2.4

 

* stands for changes

+ stands for additional content or features

- stands for removed things

 

-> general <-

* changed compiler to gcc 4.9 released version

* upgraded boost to version 1.55

* upgraded cryptopp to 5.6.2

+ added qc in the bundle! Further versions will now also update qc file!

 

-> qc changes <-

* changed compiler to gcc49 and added some tuning in the compiler flags! Now qc will be faster and smaller than before!

 

-> liblua <-

Note: Upgrade to lua 5.2 is now shifted away into a future versions since there's still a lot to do.

* Recompiled with gcc 4.9

* Made some slight changes to make the lualib more compatible to newer versions

 

-> gameplay improvements <-

+ Installed advanced spam protection to stop people saying the same stuff over and over

+ game master will now have the same waiting time when switching bonuses than users

 

-> bugfixes <-

* fixed immunity bug

* fixed some bugs with CONFIG options that couldn't be recognize nor work properly

* fixed a bug where people could cause a yang overflow with shops

- removed polymorph bonus since it's just buggy and won't work for most char classes

 

-> CONFIG options <-

+ The following CONFIG-options were added:

empire_chat: 1/0
Enables the global chat! Disabled by default.
bigger_inventory: 1/0
Allows the use of up to 4 inventory slots
trade_effect: 1/0
Enables a effect that'll occur when people are traing stuff. Enabled by default.
ban_force_reason: 1/0
This lets the ban-command only work when you're giving a reason. Disabled by default.

-> Quest functions <-

+ pc.block_exp()

+ pc.unblock_exp()

They may be quite popular right now. This lets the player not receive any exp anymore. The unblock function removes this effect. It's for a working anti-exp ring.

+ item.equip()

Equips the selected item

+ npc.select()

Selects a new npc as the current quest npc. Similar to the pc.select-function

+ pc.get_id()

Prints out the id from the player

 

-> commands <-

* ban command reworked.

Now works properly and bans the given player. But additionally, this command is also able to read a reason given.

/ban PLAYERNAME [REASON]

+ unban

Unbans a player and reverts the ban effects.

/unban PLAYERNAME

 

NOTE: This changelog is tentative!

There may be some features I just forgot to mention. If there's anything, then just let me know!

 

Release: Downloadlink following soon; Estimated to be up in maximum 2 days; Expected to be tomorrow.

 

 

What's cooking for 2.5?

-> qc will be able to handle more errors

-> Allowing global definitions in qc; Also trying to get rid of the binding system so you can write quests more flexible

-> Allowing the server to create routines that'll run while the server is running so they aren't bound to players to trigger them; Instead the server will trigger them

-> Again I'm trying to implement the new lua upgrade, but if it won't work, I'll instead make use of some patches to fix problems with the old lua and even add new statements

-> Improving readline function so lua will eben be able to read shortenings like using "fu" instead of "function".

 

  • Love 13

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

i've made it same problem

 

 

freebsd-update upgrade -r 8.4-RELEASE

 

Looking up update.FreeBSD.org mirrors... none found.

Fetching public key from update.FreeBSD.org... failed.

No mirrors remaining giving up ...

 

 

i cant make internet with the virtual box...

please read older post, you cant make with hamachi or lan network. You need correct configuration or DHCP server. and maybe need change DNS address., and this is not @Vanilla problem. please dont write irrelevant post..

Link to comment
Share on other sites

  • Premium

How can i change the Boni Switch time to 0 second. I mus wait 60 Minute for next switching

 

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

 
 
ATTR_CHANGE_LIMIT: int
You can set a limit time to change your attributes again. It's changed to seconds (set it to 1 to let the users switch only once per second their attributes).
 
You should change the locale_string text to "seconds" too.
Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

Please consider reading the first post.

 

ATTR_CHANGE_LIMIT: int
You can set a limit time to change your attributes again. It's changed to seconds (set it to 1 to let the users switch only once per second their attributes).
 
It's a CONFIG option. You just simply can change it. Also you don't have to wait 60 minutes, the time is set in seconds.
 
€: Shogun was faster!
  • Love 1

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

 

Please consider reading the first post.

 

ATTR_CHANGE_LIMIT: int
You can set a limit time to change your attributes again. It's changed to seconds (set it to 1 to let the users switch only once per second their attributes).
 
It's a CONFIG option. You just simply can change it. Also you don't have to wait 60 minutes, the time is set in seconds.
 
€: Shogun was faster!

 

 

Vanilla can you make a binary with 999.999.999.999 max yang for your game ?

Link to comment
Share on other sites

I've extended the changelog.

 

Be happy that the gold exploit should be dead now!

 

Additionally we get something cooler now!

Instead of getting the account id by using a query, it'll now be accessable without a query. That opens more features like and makes more performant calls to the account-id! Also there's a new questfunction:

pc.get_account_id()

This function will print out the account id without using a query or something else.

 

There's still more stuff to come, I'll edit the changelog later with more details in it.

Still I'm sticking on my words: The release will be today/this night.

  • Love 2

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.