Szerző Téma: shop-system hiba  (Megtekintve 950 alkalommal)

shop-system hiba
« Dátum: 2014. szeptember 26. - 18:36:55 »
0 Show voters
Hello! Az lenne a kérdésem ,hogy mitől lehet az , hogy a Boltos NPC-nél nem lehet fegyvert venni Csak itemet. ( Fegyverbe beleértem: Biliárd Dákó, Baseball ütő , Meg stb.. és a Fegyveres NPV-nél se adja oda )
A Log ennyit ír:
[2014-09-26 18:32:50] ERROR: shop-system/s_generalshop_system.lua:235: call: failed to call \'global:isPlayerPearlDonator\'
[2014-09-26 18:32:50] ERROR: shop-system/s_generalshop_system.lua:237: call: failed to call \'global:isPlayerSilverDonator\'
[2014-09-26 18:32:55] ERROR: shop-system/s_generalshop_system.lua:235: call: failed to call \'global:isPlayerPearlDonator\'
[2014-09-26 18:32:55] ERROR: shop-system/s_generalshop_system.lua:237: call: failed to call \'global:isPlayerSilverDonator\'

Nem elérhető Martin

  • 160
    • Profil megtekintése
shop-system hiba
« Válasz #1 Dátum: 2014. szeptember 26. - 19:26:08 »
0 Show voters
Másold be a s_generalshop_system.lua 235 - 237 sorát.

shop-system hiba
« Válasz #2 Dátum: 2014. szeptember 27. - 10:40:17 »
0 Show voters
function calcSupplyCosts(thePlayer, itemID, isWeapon, supplyCost)
if not isweapon and id ~= 68 then
if exports.global:isPlayerPearlDonator(thePlayer) then
   return math.ceil( 0.5 * supplyCost )
elseif exports.global:isPlayerSilverDonator(thePlayer) then
   return math.ceil( 0.75 * supplyCost )
end
end
return supplyCost
end

Nem elérhető Martin

  • 160
    • Profil megtekintése
shop-system hiba
« Válasz #3 Dátum: 2014. szeptember 27. - 11:53:11 »
0 Show voters
Van a global mappádban isPlayerPearlDonator és isPlayerSilverDonator funkció? És ha van akkor meta-ban is bent van funkcióként?

shop-system hiba
« Válasz #4 Dátum: 2014. szeptember 27. - 12:44:16 »
0 Show voters
Ez szerepel a META-ba:
<script src=\"hazak.lua\" type=\"server\"/>
<export function=\"vehetHazat\" type=\"server\"/>
<script src=\"chat_globals.lua\" type=\"server\"/>
<export function=\"getOOCState\" type=\"server\"/>
<export function=\"setOOCState\" type=\"server\"/>
<export function=\"sendMessageToAdmins\" type=\"server\"/>
<export function=\"getNearbyElements\" type=\"server\"/>
<export function=\"sendLocalText\" type=\"server\"/>
<export function=\"sendLocalMeAction\" type=\"server\"/>
<export function=\"sendLocalDoAction\" type=\"server\"/>
<export function=\"findPlayerByPartialNick\" type=\"server\"/>
<script src=\"vip_rendszer.lua\" type=\"server\"/>
<export function=\"isVipTag\" type=\"server\"/>
<export function=\"isVipEgy\" type=\"server\"/>
<export function=\"isVipKetto\" type=\"server\"/>
<export function=\"isVipHarom\" type=\"server\"/>
<export function=\"isVipNegy\" type=\"server\"/>
<export function=\"isPlayerBronzeDonator\" type=\"server\"/>
<script src=\"vip_rendszer.lua\" type=\"client\"/>
<export function=\"isVipTag\" type=\"client\"/>
<export function=\"isVipEgy\" type=\"client\"/>
<export function=\"isVipKetto\" type=\"client\"/>
<export function=\"isVipHarom\" type=\"client\"/>
<export function=\"isVipNegy\" type=\"client\"/>
<export function=\"isPlayerBronzeDonator\" type=\"client\"/>
<script src=\"admin_globals.lua\" type=\"server\"/>
<export function=\"isRpSeged\" type=\"server\"/>
<export function=\"isEgyesAdmin\" type=\"server\"/>
<export function=\"isKettesAdmin\" type=\"server\"/>
<export function=\"isHarmasAdmin\" type=\"server\"/>
<export function=\"isNegyesAdmin\" type=\"server\"/>
<export function=\"isFoAdmin\" type=\"server\"/>
<export function=\"isTulaj\" type=\"server\"/>
<export function=\"isSuperAdmin\" type=\"server\"/>
<export function=\"isVezerScripter\" type=\"server\"/>
<export function=\"isOtosAdmin\" type=\"server\"/>
<export function=\"isScripter\" type=\"server\"/>
<export function=\"isPlayerAdmin\" type=\"server\"/>
<export function=\"isPlayerFullAdmin\" type=\"server\"/>
<export function=\"isPlayerSuperAdmin\" type=\"server\"/>
<export function=\"isPlayerHeadAdmin\" type=\"server\"/>
<export function=\"isPlayerLeadAdmin\" type=\"server\"/>
<export function=\"isRendszerGazda\" type=\"server\"/>
<export function=\"getPlayerAdminLevel\" type=\"server\"/>
<export function=\"getPlayerAdminTitle\" type=\"server\"/>
<export function=\"isPlayerScripter\" type=\"server\"/>
<export function=\"getAdmins\" type=\"server\"/>
<script src=\"admin_globals.lua\" type=\"client\"/>
<export function=\"isRpSeged\" type=\"client\"/>
<export function=\"isEgyesAdmin\" type=\"client\"/>
<export function=\"isKettesAdmin\" type=\"client\"/>
<export function=\"isHarmasAdmin\" type=\"client\"/>
<export function=\"isNegyesAdmin\" type=\"client\"/>
<export function=\"isFoAdmin\" type=\"client\"/>
<export function=\"isTulaj\" type=\"client\"/>
<export function=\"isSuperAdmin\" type=\"client\"/>
<export function=\"isVezerScripter\" type=\"client\"/>
<export function=\"isOtosAdmin\" type=\"client\"/>
<export function=\"isScripter\" type=\"client\"/>
<export function=\"isPlayerAdmin\" type=\"client\"/>
<export function=\"isPlayerFullAdmin\" type=\"client\"/>
<export function=\"isPlayerSuperAdmin\" type=\"client\"/>
<export function=\"isPlayerHeadAdmin\" type=\"client\"/>
<export function=\"isPlayerLeadAdmin\" type=\"client\"/>
<export function=\"isRendszerGazda\" type=\"client\"/>
<export function=\"getPlayerAdminLevel\" type=\"client\"/>
<export function=\"getPlayerAdminTitle\" type=\"client\"/>
<export function=\"isPlayerScripter\" type=\"client\"/>
<export function=\"getAdmins\" type=\"client\"/>
<script src=\"c_vehicle_globals.lua\" type=\"server\"/>
<script src=\"c_vehicle_globals.lua\" type=\"client\"/>
<export function=\"getVehicleVelocity\" type=\"server\"/>
<export function=\"getVehicleVelocity\" type=\"client\"/>
<export function=\"relateVelocity\" type=\"server\"/>
<export function=\"relateVelocity\" type=\"client\"/>
<script src=\"s_vehicle_globals.lua\" type=\"server\"/>
<export function=\"getVehiclesOwnedByCharacter\" type=\"server\"/>
<export function=\"canPlayerBuyVehicle\" type=\"server\"/>
<script src=\"money_globals.lua\" type=\"server\"/>
<script src=\"c_money_globals.lua\" type=\"client\"/>
<export function=\"giveMoney\" type=\"server\"/>
<export function=\"takeMoney\" type=\"server\"/>
<export function=\"setMoney\" type=\"server\"/>
<export function=\"hasMoney\" type=\"server\"/>
<export function=\"hasMoney\" type=\"client\"/>
<export function=\"getMoney\" type=\"server\"/>
<export function=\"getMoney\" type=\"client\"/>
<export function=\"formatMoney\" type=\"server\"/>
<export function=\"formatMoney\" type=\"client\"/>
<export function=\"checkMoneyHacks\" type=\"server\"/>
<export function=\"getTaxAmount\" type=\"server\"/>
<export function=\"getIncomeTaxAmount\" type=\"server\"/>
<export function=\"setTaxAmount\" type=\"server\"/>
<export function=\"setIncomeTaxAmount\" type=\"server\"/>
<script src=\"anticheat_globals.lua\" type=\"server\"/>
<export function=\"giveWeapon\" type=\"server\"/>
<export function=\"setWeaponAmmo\" type=\"server\"/>
<export function=\"takeAllWeapons\" type=\"server\"/>
<export function=\"takeWeapon\" type=\"server\"/>
<script src=\"achievement_globals.lua\" type=\"server\"/>
<export function=\"doesPlayerHaveAchievement\" type=\"server\"/>
<export function=\"givePlayerAchievement\" type=\"server\"/>
<script src=\"country_globals.lua\" type=\"server\"/>
<export function=\"getPlayerCountry\" type=\"server\"/>
<export function=\"getPlayerCountryByIP\" type=\"server\"/>
<script src=\"item_globals.lua\" type=\"server\"/>
<export function=\"hasSpaceForItem\" type=\"server\"/>
<export function=\"hasItem\" type=\"server\"/>
<export function=\"giveItem\" type=\"server\"/>
<export function=\"takeItem\" type=\"server\"/>
<export function=\"takeAllItem\" type=\"server\"/>
<script src=\"c_item_globals.lua\" type=\"client\"/>
<export function=\"hasSpaceForItem\" type=\"client\"/>
<export function=\"hasItem\" type=\"client\"/>
<export function=\"getItemName\" type=\"client\"/>
<script src=\"version_globals.lua\" type=\"server\"/>
<script src=\"version_globals.lua\" type=\"client\"/>
<export function=\"getScriptVersion\" type=\"server\"/>
<export function=\"getScriptVersion\" type=\"client\"/>
<script src=\"c_animation_globals.lua\" type=\"client\"/>
<export function=\"applyAnimation\" type=\"client\"/>
<export function=\"removeAnimation\" type=\"client\"/>
<script src=\"s_animation_globals.lua\" type=\"server\"/>
<export function=\"applyAnimation\" type=\"server\"/>
<export function=\"removeAnimation\" type=\"server\"/>
<script src=\"nametag_globals.lua\" type=\"server\"/>
<export function=\"updateNametagColor\" type=\"server\"/>
<script src=\"zone_globals.lua\" type=\"server\"/>
<export function=\"getElementZoneName\" type=\"server\"/>
<script src=\"frakcio_global.lua\" type=\"server\"/>
<export function=\"SendMessageToTeam\" type=\"server\"/>
<export function=\"FrakcioUzenet\" type=\"server\"/>
</meta>

Nem elérhető Toxic

  • 798
  • #elfújalágyszellő
    • Profil megtekintése
shop-system hiba
« Válasz #5 Dátum: 2014. október 25. - 10:50:25 »
0 Show voters
[mod]Elavult, zárom.[/mod]

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal